Thanh Hoan
New member
What will be the output of the following C code?
A. 1 4
B. Compilation error
C. 1 2 4
D. 1 3 4
Code:
#include <stdio.h>
int main()
{
printf("%d ", 1);
goto l1;
printf("%d ", 2);
l1:goto l2;
printf("%d ", 3);
l2:printf("%d ", 4);
}
B. Compilation error
C. 1 2 4
D. 1 3 4