1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include<stdio.h> void func() { start: printf("In func() \n"); }; int main() { int iCtr=1; while( iCtr< 5) { printf("Hello World\n"); goto start; } return 0; }
1 2
In function 'main': Line 14: error: label 'start' used but not defined