goto cpp code example
Example 1: goto c++
//The goto statement is used for transferring the control of a program to a given label
//goto and label must be in a function.
goto label;
...
...
label: statement;
Example 2: goto c++
Transfer control to a specified label