InterviewSolution
Saved Bookmarks
| 1. |
Write to use of go-to statement with the help of an example |
|
Answer» tion:Example of GOTO statement Explanation: In this example, we have a label addition and when the value of i (INSIDE loop) is equal to 5 then we are jumping to this label using goto. This is REASON the sum is displaying the sum of numbers till 5 EVEN THOUGH the loop is set to run from 0 to 10. |
|