Vidyalelo
C Programming · Q61

Control Structures

Programming · C Programming · question 61

Q61

What will be the output of the following C code? #include int main() int i = 0; while (i < 2) if (i == 1) break; i++; if (i == 1) continue; printf("In while loop "); printf("After loop ");

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

Answer: Option B

Solution

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