Vidyalelo
C Programming · Q67

Function

Programming · C Programming · question 67

Q67

What will be the output of the following C code? #include void foo(); int main() void foo(); foo(); return 0; void foo() printf("2 ");

A.
Compile time error
B.
2
Answer
C.
Depends on the compiler
D.
Depends on the standard

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board