Question 137

In C++, memory allocated with new should be released using:

  1. Aremove
  2. Bdispose
  3. Cdelete
  4. Dfree
Show answerHide answer

Correct answer: (C) delete

Explanation

new/delete in C++; malloc/free in C.

From DSSSB TGT Computer Science Full Mock Test 3

This is question 137 of DSSSB TGT Computer Science Full Mock Test 3. 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.