Jump to content

Flow-control structures: Difference between revisions

m
m (→‎{{header|Ada}}: lang tag)
m (→‎{{header|C}}: lang tag)
Line 23:
===goto===
One common use of goto in C is to break out of nested loops.
<lang c> int main()
{
int i,j;
Line 35:
out:
return 0;
}</lang>
 
=={{header|C++}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.