What will be the output of the following C code?
#include <stdio.h>
int main()
{
for (int i = 0;i < 1; i++)
printf("In for loop\n");
}
#include <stdio.h>
int main()
{
for (int i = 0;i < 1; i++)
printf("In for loop\n");
}A. Compile time error
B. In for loop
C. Depends on the standard compiler implements
D. Run time error
Answer: Option C

Join The Discussion