1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int k = 0;
for (fun(); k == 1; k = 2)
printf("Executed in loop n");
printf("Executed After loop n");
}
int fun()
{
return 1;
}

A. Infinite loop
B. Compilation Error
C. Executed in loop
D. Executed After loop
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs