COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In the activation record, local variables can be accessed from frame pointer with offset value
A
positive
B
negative
C
May be positive or negative
D
Cannot be accessed
Explanation: 

Detailed explanation-1: -The activation stack is where the run time environment of the program keeps track of all the functions that have been called. The activation stack records all the necessary information about a function call, including parameters, local variables, return values, location currently being executed in the function, etc.

Detailed explanation-2: -Activation tree helps to access the non-local variables in faster way by using an array of pointers to activation records.

There is 1 question to complete.