Vidyalelo
C Programming · Q69

Control Structures

Programming · C Programming · question 69

Q69

What will be the output of the following C code? #include int main() int i = 0, j = 0; l1: while (i < 2) i++; while (j < 3) printf("loop "); goto l1;

A.
loop loop
Answer
B.
Compile time error
C.
loop loop loop loop
D.
Infinite loop

Answer: Option A

Solution

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