wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 record is essential to implement recursion

(4) Both heap and stack are essential to implement recursion.

A
1 and 3 only
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
3 and 4 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
2 and 3 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
1 and 2 only
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon