The reserved memory or private space of the subroutine gets deallocated when _______
(a) The stop instruction is executed by the routine
(b) The pointer reaches the end of the space
(c) When the routine’s return statement is executed
(d) None of the mentioned
This question was addressed to me during an online exam.
This interesting question is from Parameter Passing and Stack Frame topic in chapter Machine Instructions and Programs of Computer Architecture