Show the stack with all activation record instances, including static and dynamic chains, when execution reaches position 1 in t
he following skeletal program. Assume bigsub is at level 1.
function bigsub() {
function a() {
function b() {
... <----------------------------1
} // end of b
function c() {
...
b();
...
} // end of c
...
c();
} // end of a
...
a();
...
}// end of bigsum
1 answer:
Answer:
Activation Records
The storage (for formals, local variables, function results etc.) needed for execution of a
subprogram is organized as an activation record.
An Activation Record for “Simple” Subprograms
.
Activation Record for a Language with Stack-Dynamic Local Variables
Dynamic link: points to the top of an activation record of the caller
Explanation:
You might be interested in
The answer to this blanks are black and visible
Decomposition will be used so you can break down the game into smaller and more manageable parts.
Answer:
Samsung note 20 or iPhone but i think Samsung
Explanation: