What is false about a stack?
2017
What is false about a stack?
- A.
It is used for storing return address when a function is called
- B.
It is used for storing return address when interrupted
- C.
It is used for storing interrupt vector address
- D.
It is used for storing registers that are going to be possibly manipulated in ISR
Attempted by 110 students.
Show answer & explanation
Correct answer: C
A stack stores return addresses and saved registers, but interrupt vector addresses are stored in the interrupt vector table, not on the stack.