What will be the output of the following C code? [code] #include <stdio.h> int main() { int i = 0, j = 0; while

What will be the output of the following C code?
Code:
    #include <stdio.h>
    int main()
    {
        int i = 0, j = 0;
        while (i < 2)
        {
            l1 : i++;
            while (j < 3)
            {
                printf("Loop\n");
                goto l1;
            }
        }
    }
A. Loop Loop
B. Compilation error
C. Loop Loop Loop Loop
D. Infinite Loop
 

Tìm kiếm

Back
Top