Vidyalelo
C Programming · Q108

Control Structures

Programming · C Programming · question 108

Q108

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

A.
loop loop
B.
Compilation error
Answer
C.
loop loop loop loop
D.
Infinite loop

Answer: Option B

Solution

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