0

what is a goto statement

20th Feb 2018, 4:51 PM
SRINIVASAN P.J
SRINIVASAN P.J - avatar
2 Answers
+ 8
A goto statement provides an unconditional jump from the goto to a labeled statement in the same function. NOTE − Use of goto statement is highly discouraged because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify. https://www.tutorialspoint.com/cplusplus/cpp_goto_statement.htm
20th Feb 2018, 4:55 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 2
https://msdn.microsoft.com/en-us/library/b34dt9cd.aspx http://en.cppreference.com/w/cpp/language/goto
20th Feb 2018, 4:53 PM
Fata1 Err0r
Fata1 Err0r - avatar