-
What will be the output of the following C code?
#include <stdio.h>
int main()
{
printf("Krishna ");
goto Label;
printf("Imroj ");
}
void fun()
{
Label: printf("Abhay ");
}
-
- Krishna
- Imroj
- Abhay
- Compilation Error
- None of these
Correct Option: D
Compilation Error
main.c: In function ‘main’:
main.c:5:9: error: label ‘Label’ used but not defined
goto Label;