Question 65

When a subroutine is called, the address of the instruction following the CALL instructions stored in/on the ______.

  1. AProgram counter
  2. BStack
  3. CStack pointer
  4. DAccumulator
Show answerHide answer

Correct answer: (B) Stack

Explanation

CALL pushes the return address (the address of the next instruction) onto the stack, and RET pops it back into the program counter.

From DSSSB TGT Computer Science Practice Set 5

This is question 65 of DSSSB TGT Computer Science Practice Set 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.