Vidyalelo
C Programming · Q77

Control Structures

Programming · C Programming · question 77

Q77

What will be the output of the following C code? #include int main() int i = 0; do i++; printf("In while loop "); while (i < 3);

A.
In while loop
In while loop
In while loop
Answer
B.
In while loop
In while loop
C.
Depends on the compiler
D.
Compile time error

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board