The goto Statement

The goto statement performs a jump to the statement following the specified label. A goto statement can jump anywhere within the current function.

A common use of goto is to exit immediately from a deeply nested loop. For
instance:

for( ... )

{

for( ... )

{

/* Do something here */

if(c == CTRL_C)

goto myplace;

}

/* Do something else here */

}

/* The goto label is named myplace */

myplace:

/* The goto statement transfers control here */