Question: Consider the program given below, in a block-structured pseudo-language with lexical scoping and nesting of procedures permitted.
Program main;
Var ...
Procedure A1;
Var ...
Call A2;
End A1
Procedure A2;
Var ...
Procedure A21;
Var ...
Call A1;
End A21
Call A21;
End A21
Call A1;
End main.
Consider the calling chain:
Main → A1 → A2 → A21 →A1.
The correct set of activation records along with their access links is ?
#GATECS2012 #CompilerDesign #ActivationRecord
Watch video GATE CS 2012 | Question 36 | GATE CS Solutions | GATE CS PYQs | Compiler Design online without registration, duration hours minute second in high quality. This video was added by user Arihant Online Academy 26 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 413 once and liked it 7 people.