Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE CS 2010 | Question 14

  • Last Updated : 17 Sep, 2021

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

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :