goto statement in c
goto is a jump statement, which transfer program execution control from given label to specified label in a c program.
Syntax
goto label;
.
.
.
.
label: statement;
Example
#include<stdio.h>
void main()
{
int i = 20;
goto mylabel;
i = i + 30;
mylabel:
printf("%d ", i);
}
In c program, goto should be used with extra care, because it makes code unreadable, and difficult to debug and sometime program may crash.