Ad

Chapter - 5: Classes in C++

What does the delete operator do in addition to deallocating the memory used by the object?


Ad
D
Sections
5
Exercises

delete operator not only deallocate the memory but also call the destructor for that object it is used.

Ad

© 2024 Garbage Valuegarbage value logo