Show the stack with all activation record instances, including static and dynamic chains, when execution reaches positio
Posted: Tue Jul 12, 2022 8:17 am
Show the stack with all activation record instances, includingstatic and dynamic chains, when execution reaches position 1 in thefollowing skeletal program. Assume bigsub is at level 1.
Show the records and where pointers point to for dynamic andstatic linkages/chains of reference
function bigsub(){
function a() {
function b() {
...<----------------------------1
} // end of b
function c() {
...
b();
...
} // end of c
...
c();
...
} // end of a
...
a();
...
} // end of bigsub
Show the records and where pointers point to for dynamic andstatic linkages/chains of reference
function bigsub(){
function a() {
function b() {
...<----------------------------1
} // end of b
function c() {
...
b();
...
} // end of c
...
c();
...
} // end of a
...
a();
...
} // end of bigsub