write the difference between the goto statement and gosub two differences
Answers
Answered by
3
GOTO simply jumps to another line, GOSUB keeps track of where it came from (on a stack, presumably), so when the interpreter encounters a RETURN , it goes back to the last place GOSUB was called.
Answered by
2
Answer:
GOTO simply jumps to another line, GOSUB keeps track of where it came from (on a stack, presumably), so when the interpreter encounters a RETURN , it goes back to the last place GOSUB was called.
Similar questions
Computer Science,
2 months ago
Science,
2 months ago
Math,
5 months ago
Accountancy,
11 months ago
Math,
11 months ago
Math,
11 months ago