Does the default destructor in C++ classes automatically delete members that are not explicitly allocated in code? For example:
class C { public: C() {}
You don't have to write a destructor. C++ class has the default destructor to delete the object after 'return 0' to recycle the memory.