What is an activation record? Explain the purpose of each field of an activation record?
Answers
Answered by
1
Activation Record. ... Activation record is used to manage the information needed by a single execution of a procedure. An activation record is pushed into the stack when a procedure is called and it is popped when the control returns to the caller function.
Answered by
0
When control returns to the caller function, an activation record is added to the stack and removed.
What is an activation record?
The activation record is a memory block that holds the data required to run a single procedure.
What is the purpose of each field of an activation record?
- It's used to keep track of the current record, which is then stored in the stack.
- It has a return value in it. The value is returned after the execution.
- Return value is a term that can be used to describe Parameter.
- The number of parameters used in functions is specified here.
#SPJ3
Similar questions