Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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);
}

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);
}
a) Compilation error
b) 1 2 3
c) 1 2
d) 1 3

Answer: b

Join The Discussion