Vidyalelo
C Programming · Q179

Function

Programming · C Programming · question 179

Q179

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

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

Answer: Option A

Solution

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