Vidyalelo
C Programming · Q83

Control Structures

Programming · C Programming · question 83

Q83

What will be the output of the following C code? #include int main() printf("%d ", 1); goto l1; printf("%d ", 2); l1:goto l2; printf("%d ", 3); l2:printf("%d ", 4);

A.
1 4
Answer
B.
Compilation error
C.
1 2 4
D.
1 3 4

Answer: Option A

Solution

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