Examveda

What will be the output of the following C code?
#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


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures