Faster access to non-local variables is achieved using an array of pointers to…

1998

Faster access to non-local variables is achieved using an array of pointers to activation records, called a _____.

Answer: C. displayA display is an array of pointers to activation records used for faster access to non-local variables in nested scopes. It provides direct references to outer…

  1. A.

    stack

  2. B.

    heap

  3. C.

    display

  4. D.

    activation tree

Attempted by 58 students.

Show answer & explanation

Correct answer: C

A display is an array of pointers to activation records used for faster access to non-local variables in nested scopes. It provides direct references to outer scope activation records, avoiding the need to traverse the entire call stack.

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…