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 >
void main()
{
int i = 0;
if (i == 0)
{
goto label;
}
label: printf(“Hello”);
}

What will be the output of the following C code?
#include < stdio.h >
void main()
{
int i = 0;
if (i == 0)
{
goto label;
}
label: printf(“Hello”);
}
a) Nothing
b) Error
c) Infinite Hello
d) Hello

Answer: d

Join The Discussion