Order of Execution of Constructor and Destructor when Inherited





This video tutorial made by the learning lad explains the order of execution of constructors and destructors when a derived class inherits from a base class.

You will learn in which order constructors and destructors are called when inheritance is used  in c++ in detail with example.

source code for this tutorial

#include 

using namespace std;

class Person{
public:
    Person(){
    cout << "constructor of the Person class called"<
                  
Back To Top