Describe the order of function execution for base and derived constructor functions and for destructor functions.
What will be an ideal response?
The order of function execution for base and derived constructor functions is that the base constructor is executed first and then the derived class constructor. The order is opposite for the destructor functions; first, the derived destructor is executed, then the base destructor is executed.
Computer Science & Information Technology