1.

What is a destructor? Which operator is used with destructor?

Answer»

It is a special member function that destroys the objects that have been created by a constructor when they no longer required. The operator tilde sign (~) is used with destructor.



Discussion

No Comment Found

Related InterviewSolutions