Multiple choice

Stack pointer is provided in a microprocessor to

  1. hold the return address of a function call

  2. hold the calling address of a function call

  3. hold the address of the data area of the main program

  4. provide the next address of program execution

  5. It is not required at all.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

After completing the function call, the processor returns back to calling program using the address in the stack pointer.