Question: DESIGN AND IMPLEMENTATION OF PROGRAMMING LANGUAGES Question 7 : Consider Procedure N2( C: real); Var D, B: real; begin N2; statement2 end N2; The run
DESIGN AND IMPLEMENTATION OF PROGRAMMING LANGUAGES
Question 7 :
Consider
Procedure N2( C: real);
Var D, B: real;
begin N2;
statement2
end N2;
The run time representation of N2 will include:
a) The static part of N2 that contains only the code respective to its body.
b) The dynamic of N2 that contains: local variables; parameters; return address and link to non local variables.
c) Only the static part of the of N2 that contains code respective to its body.
d) The static part of N2 that contains: the code respective to its body; the constants and a code for allocation and deallocation of the dynamic part of N2.
e) d and b.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
