The parameter and local variables of a function call are stored in which region of memory by the system?
A. heap
B. Stacking
C. Data segment with no initialization
D. None of the aforementioned options are viable options.
Answer:B
The parameter and local variables of a function call are stored in which region of memory by the system?
A. heap B. Stacking C. Data segment with no initialization D. None of the aforementioned options are viable options.
Explanation: Variables and information saved each time a function is invoked are stored in the stack. When a function is called, the stack saves the return address as well as some information about the caller's environment, such as some machine registers.