Home > Electronics Tutorials > C Language Tutorial > Statements - goto

C Language Programming Library Reference Guide

Statements - 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.
Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......