Question 58Asked in UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)

Heap allocation is required for languages that :

  1. Ause dynamic scope rules
  2. Bsupport dynamic data structures
  3. Csupport recursion
  4. Dsupport recursion and dynamic data structures
Show answerHide answer

Correct answer: (B) support dynamic data structures

Explanation

Heap allocation is required for languages that support dynamic data structures, whose storage is allocated and freed at run time in an arbitrary order.

From UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions)

This is question 58 of UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.