Electronic Circuits - Electronic Tutorials - Electronic Hobby Projects - A Complete Electronic Resource Centre

C Language Programming Library Reference Guide

Products

Sitemap

Online
Calculators

Circuits (A-C)

Circuits (D-O)

Circuits (P-Z)

Tutorials


 
Google
 
Web Hobbyprojects.com

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.

 

 

 

Search
Custom Search

<<<  Back to C Language Library Reference Guide

<<<  Back to Electronics Tutorials