ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Destructor is defined as _______
Correct Answer: B — matrix:: ~matrix(){ }
A destructor is used to destroy the objects that have been created by a constructor. Like a constructor, the destructor is a member function whose name is same as the class name but is preceded by a tilde.