Computer Science EngineeringHard

Static links (access links) in activation records are used for

  1. A. accessing non-local variables of enclosing procedures
  2. B. returning function values
  3. C. passing parameters
  4. D. garbage collection

Correct answer: A. accessing non-local variables of enclosing procedures

In languages with nested procedures a static link points to the activation record of the lexically enclosing procedure.

More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions

Exams that ask this topic