The stack is useful for
(a) storing the register status of the processor
(b) temporary storage of data
(c) storing contents of registers temporarily inside the CPU
(d) all of the mentioned
The question was asked at a job interview.
Asked question is from Stack topic in division Special Architectural Features and Related Programming of Microprocessor