1.6.6 goto

The goto statement transfers program execution to some label within the program.

Syntax:

goto label;
….
label:

Examples:

goto skip_point;
printf("This part was skipped.\n");
skip_point:
printf("Hi there!\n");

Only the text “Hi there!” is printed.