Vidyalelo
C Programming · Q143

Control Structures

Programming · C Programming · question 143

Q143

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

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

Answer: Option D

Solution

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