Open In App
Related Articles

GATE | GATE CS 2010 | Question 14

Improve Article
Improve
Save Article
Save
Like Article
Like

Which languages necessarily need heap allocation in the runtime environment?

(A) Those that support recursion
(B) Those that use dynamic scoping
(C) Those that allow dynamic data structures
(D) Those that use global variables


Answer: (C)

Explanation: Heap allocation is needed for dynamic data structures like tree, linked list, etc.



Quiz of this Question

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 17 Sep, 2021
Like Article
Save Article
Previous
Next
Similar Reads