GATE 2008 CS – Question 54
Which are true?
I. A language without globals or nested procedures, but permitting recursion, can use static storage allocation.
II. Multilevel access links/displays are needed only when procedures/functions nest.
III. Recursion cannot use dynamic storage allocation.
IV. Nested procedures and recursion require heap allocation and cannot use stack activation records.
V. Languages allowing a function to return another function cannot use stack-based activation-record allocation.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) II and V only
Explanation
We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort