318 views
3 votes
3 votes

 Consider the following possibilities for saving the return address of a subroutine:

 

(a) In a processor register

 

(b) In a memory location associated with the call, so that a different location is used when the subroutine is called from different places

 

(c) On a stack Which of these possibilities supports subroutine nesting and which supports subroutine recursion (that is, a subroutine that calls itself)?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
3