GATE 2010
January 21, 2024Question 10823 – APPSC-2016-DL-CS
January 22, 2024Compiler-Design
|
Question 106
|
Which languages necessarily need heap allocation in the runtime environment?
|
Those that support recursion
|
|
|
Those that use dynamic scoping
|
|
|
Those that allow dynamic data structures
|
|
|
Those that use global variables
|
Question 106 Explanation:
Dynamic memory is allocated on the heap by the system. So the languages which allow dynamic data structure require heap allocation at runtime.
Correct Answer: C
Question 106 Explanation:
Dynamic memory is allocated on the heap by the system. So the languages which allow dynamic data structure require heap allocation at runtime.
