First page Back Continue Last page Graphics
Automatic Variables and the Stack
A simplified version of this is shown in Prata Figure 9.3
When a function is called, the activation record (group of local variables and formal parameters) is pushed on the stack.
When a function exits, this group is popped off the stack.