Concept:
An activation record (stack frame) is created whenever a procedure or function is invoked.
It contains information such as:
• Parameters
• Local variables
• Return address
• Control link
• Access link
The control link is used to return control to the calling procedure after execution of the called procedure is completed.
Step 1: Understand the purpose of a control link.
When a function calls another function, a new activation record is pushed onto the run-time stack.
The control link stores the address of the activation record of the caller.
Step 2: Why is it needed?
After execution finishes, the system must return to the caller.
The control link provides a connection to the previous activation record.
Step 3: Identify the correct option.
Therefore, the control link points to
\[
\boxed{\text{The activation record of the calling procedure}}
\]
Hence option (C) is correct.
Was this answer helpful?
0
0
Top TS PGECET Computer Science & Information Technology Questions