goto allows absolute jump to another point in the program. The use of goto should be limited because the execution of goto can cause unconditional jump ignoring any type of nesting limitations.
The destination point is identified by a label which is then used as an argument for goto statement.
// Program to print from 5 down to 1 using goto
cout<<"\nEnd of goto";
Output of the program is:
In line 10 the goto keyword is encountered, so the execution of the program now continues from line 6.