MCQs > IT & Programming > C++ > What is the purpose of a destructor?

C++ MCQs

What is the purpose of a destructor?

Answer

Correct Answer: It allows the programmer to write the necessary code to free the resources acquired by the object prior to deleting the object itself.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it