what is the use of GOTO statements
Answers
Answered by
15
Goto is a jumping statement in c language, which transfer the program's control from one statement to another statement (where label is defined). goto can transfer the program's within the same block and there must a label, where you want to transfer program's control.
I hope this will help you dear..
Always stay safe and stay healthy..
Answered by
1
The GOTO statement branches to a specific line number or to the first statement after a specified label. In the example below the GOTO statement braches to the instruction after the "label1" label until the value of variable "x" is equal to 5
Similar questions
Computer Science,
28 days ago
Physics,
28 days ago
Science,
1 month ago
Social Sciences,
8 months ago
Math,
8 months ago