Multiple choice

Consider the program given below, in a block-structured pseudo-language with lexical scoping and nesting of procedures permitted.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Access link is defined as link to activation record of closest lexically enclosing block in program text, so the closest enclosing blocks respectively for Al, A2 and A21 are main, main and A2.