A goto statement in c++ moves execution from one part of code to a particular labeled part of code IN THE SAME FUNCTION
Syntax
`SomeFunction(){
Start: //The label
*CodeThatRepeats*;
goto Start;
}
Search
A goto statement in c++ moves execution from one part of code to a particular labeled part of code IN THE SAME FUNCTION
`SomeFunction(){
Start: //The label
*CodeThatRepeats*;
goto Start;
}