GATEverse Practice, past papers & mock tests
GATE 2014 · session-3
Compiler DesignCode Generation and OptimizationeasyMCQ1 mark
Which of the following statements about implementing recursion are CORRECT? 1) Static allocation of all data areas by a compiler makes it impossible to implement recursion. 2) Automatic garbage collection is essential to implement recursion. 3) Dynamic allocation of activation records is essential to implement recursion. 4) Both heap and stack are essential to implement recursion.
Save your progress

Related Compiler Design PYQs