What will be the output of the following C code?
#include <stdio.h>
int main()
{
while ()
printf("In while loop ");
printf("After loop\n");
}
#include <stdio.h>
int main()
{
while ()
printf("In while loop ");
printf("After loop\n");
}
A. In while loop after loop
B. After loop
C. Compile time error
D. Infinite loop
Answer: Option C
Join The Discussion