Examveda
Examveda

How many times i value is checked in the following C code?
#include <stdio.h>
int main()
{
    int i = 0;
    do {
        i++;
        printf("in while loop\n");
    } while (i < 3);
}

A. 2

B. 3

C. 4

D. 1

Answer: Option B


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures