Vidyalelo
C Programming · Q188

Function

Programming · C Programming · question 188

Q188

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

A.
2
B.
Compile time error
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