Q112
What will be the output of the following C code? #include int main() int i = 0; for (foo(); i == 1; i = 2) printf("In for loop "); printf("After loop "); int foo() return 1;
A.
After loop
AnswerB.
In for loop after loop
C.
Compile time error
D.
Infinite loop
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board