Skip to content
Related Articles
Open in App
Not now

Related Articles

ISRO | ISRO CS 2014 | Question 51

Improve Article
Save Article
  • Last Updated : 04 May, 2018
Improve Article
Save Article

Which of the following is NOT represented in a subroutine’s activation record frame for a stack-based programming language?
(A) Values of local variables
(B) Return address
(C) Heap area
(D) Information needed to access non local variables

Answer: (C)

Explanation: The portion of the stack used for an invocation of a function is called the function’s stack frame or activation record.
An activation record is another name for Stack Frame. It’s the data structure that composes a call stack. It is generally composed of:

Locals to the callee
Return address to the caller
Parameters of the callee

Heap area is required in the case of dynamic variables.
So, option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!