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
Recommended Posts:
- GATE | GATE CS 2010 | Question 1
- GATE | GATE CS 2010 | Question 2
- GATE | GATE CS 2010 | Question 3
- GATE | GATE CS 2010 | Question 4
- GATE | GATE CS 2010 | Question 5
- GATE | GATE CS 2010 | Question 65
- GATE | GATE CS 2010 | Question 8
- GATE | GATE CS 2010 | Question 65
- GATE | GATE CS 2010 | Question 10
- GATE | GATE CS 2010 | Question 11
- GATE | GATE CS 2010 | Question 65
- GATE | GATE CS 2010 | Question 13
- GATE | GATE CS 2010 | Question 15
- GATE | GATE CS 2010 | Question 16
- GATE | GATE CS 2010 | Question 65
- GATE | GATE CS 2010 | Question 18
- GATE | GATE CS 2010 | Question 19
- GATE | GATE CS 2010 | Question 20
- GATE | GATE CS 2010 | Question 21
- GATE | GATE CS 2010 | Question 22

