An unconditional GOTO sets up infinite loop.Explain explain with an example
Answers
Answered by
0
Answer:
A GOTO statement directs the control to transfer the desired label to set up a loop. An unconditional transfer of control sets up an infinite loop, from where there is no exit. Here, after the value of A is incremented, the control transfers to the label unconditionally. So, this GOTO sets up an infinite loop.
Similar questions