What is a machine stack (often shortened to just "the stack") composed of?
-
Activation records
-
Stack pointer register
-
Page
-
Status register
-
Heap data structure
A
Correct answer
Explanation
A call stack or the machine stack is composed of stack frames (also called activation records or activation frames). An activation record is a data structure containing subroutine state information located on the machine stack. These are machine dependent and ABI-dependent data structures containing subroutine state information. Each stack frame corresponds to a call to a subroutine which has not yet terminated with a return.