Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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”);
}

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”);
}
a) Compile time error
b) In for loop
c) Depends on the standard compiler implements
d) Depends on the compiler

Answer: c

Join The Discussion