I know the order of finalization of a class object is the following :
- Execute body of destructor
- Destroy the object (i.e. deallocate memory used for data members)
Now I was asked about the order of finalization for derived class objects. I suppose it is exactly the same, but is the destructor of the base class object also called after doing the above steps?
I don't think so but wanted to be sure for the exam.
Thanks for your help :)