Vidyalelo
C Programming · Q81

Control Structures

Programming · C Programming · question 81

Q81

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.
compilation error
C.
oop 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