COMPILER DESIGN

SYNTAX ANALYSIS

ROLE OF THE PARSER

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Procedure calls and returns are usually managed by a run time stack called the ____
A
control stack
B
return address
C
access link
D
control link
Explanation: 

Detailed explanation-1: -Whenever a procedure is executed, its activation record is stored on the stack, also known as control stack. When a procedure calls another procedure, the execution of the caller is suspended until the called procedure finishes execution.

Detailed explanation-2: -Compiler Design An activation tree is a tree structure that represents function calls made by a program during execution. When a function is called a new activation record is pushed to the stack and popped from the stack when the function returns.

There is 1 question to complete.