Vidyalelo
C Programming · Q60

Function

Programming · C Programming · question 60

Q60

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

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

Answer: Option A

Solution

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