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