Examveda
Examveda

What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int i = 0;
    do {
        i++;
        printf("In while loop\n");
    } while (i < 3);
}

A. In while loop
In while loop
In while loop

B. In while loop
In while loop

C. Depends on the compiler

D. Compile time error

Answer: Option A


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures