9. Given the following pseudo-code, show the sequences of activation records on the
program stack and where dynamic links point to (assuming dynamic scoping) and static
links point to (assuming static scoping), at the point in execution of the program indicated.
(Note: No function bodies other than calls are shown. Don't assume the functions do
nothing.)
defun main() {
defun fA() {
defun fc() {
fF();
}
fD();
}
defun fB() {
defun fD() {
fE();
}
defun fE() {
defun fF() {
// show stack while executing fF
}
fc();
}
fA();
}
fB();
}