In C++, memory allocated with new should be released using:
Show answerHide answer
Correct answer: (C) delete
Explanation
new/delete in C++; malloc/free in C.
Correct answer: (C) delete
Explanation
new/delete in C++; malloc/free in C.
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.