Computer Science, asked by adibsiddiqui1961, 10 months ago

Write to use of go-to statement with the help of an example

Answers

Answered by gauravarduino
0

Explanation:

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.

Similar questions