Destructors are called in reverse order of constructors. First destructor of most derived class is called followed by its parent’s destructor and so on till t...
Destructors are called in reverse order of constructors. First destructor of most derived class is called followed by its parent’s destructor and so on till t...