Vidyalelo
C Programming · Q124

Control Structures

Programming · C Programming · question 124

Q124

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

A.
In while loop
B.
In while loop After loop
Answer
C.
After loop
D.
Infinite loop

Answer: Option B

Solution

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