GATE Papers >> CSE >> 2014 >> Question No 228

Question No. 228 CSE | GATE 2014

Which of the following statements 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.


Answer : (D) 1 and 3 only


Comments
No Comments
Leave a comment