What is the output of the following C code?

			  		

Loading

โœช Choose the correct option.

What is 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
B. In for loop after loop
C. Compile time error
D. Infinite loop