1.

What is meant by garbage collection?(a) The form of manual memory management(b) The form of automatic memory management(c) Used to replace the variables(d) Used to delete the variablesI have been asked this question in an online quiz.I would like to ask this question from Resource Management topic in division Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Correct choice is (b) The form of AUTOMATIC memory management

The best I can explain: The garbage collection attempts to reclaim memory occupied by OBJECTS that are no longer in USE by the PROGRAM.



Discussion

No Comment Found

Related InterviewSolutions