What will be the output of the following C code?
#include <stdio.h>
int main()
{
printf("%d ", 1);
l1:l2:
printf("%d ", 2);
printf("%d\n", 3);
}
#include <stdio.h>
int main()
{
printf("%d ", 1);
l1:l2:
printf("%d ", 2);
printf("%d\n", 3);
}
A. Compile time error
B. 1 2 3
C. 1 2
D. 1 3
Answer: Option B
Join The Discussion