hi all ,
i have a question about the goto statement;
when execute it does it break the loop;
for example
when i execute itCode:#include<stdio.h> main() { int f; for(f=0;f<10;f++) { if(f==5) { goto here; } printf("%d\n",f); } here:{ printf("The End\n"); } }
it break the loop when it's calledC@St0rM-MaN:~/Desktop/c# ./goto
0
1
2
3
4
The End
my question is when execute it does it break the loop?
thanks