Question: What is the term for the function in a C + + class definition that can de - allocate dynamic memory when the object goes

What is the term for the function in a C++ class definition that can de-allocate dynamic memory when the object goes out of scope, as in a return from a function which has created a local object?
Destructor
Exit
Tilde function
Deconstructor
 What is the term for the function in a C++ class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The term youre looking for is Destructor In C class definitions a destruct... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!