 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can implement default constructor in multi-level inheritance in C++. Before starting, you can note my information. You can follow my YouTube channel, that is sanjaygupta underscore tech school. You can download my app, that is TechMS, available on Google Play. This app is based on various programming languages. Now coming on to the topic. For demonstration purpose, I have implemented a code in front of you. Here I have included a header file, that is IO stream. Then I have used a name space STD. In case of multi-level inheritance, first class will be inherited by second class. Second class will be inherited by third and so on. So you can see here first class is A. Here default constructor is implemented, which will display constructor of class A messes on console. Then this A class is inherited into B. Then B class constructor is defined, which will display a messes constructor of class B on console. Then class B is further inherited into class C. So class A is topmost base class. B is derived class for class A. Then further B becomes base class for C. So C is last derived class. So its constructor is implemented here, which will display constructor of class C messes on console. After implementation of class C, object of class C is created. Now you have to notice that order of column of constructor is derived to base class. So first when object of C class will be created, control will be transferred to C class constructor, then B and then A. When we talk about order of execution, so order of execution of constructor is base to derived class. So first base class that is A will be, sorry, first base class is A. So A class constructor will be executed first, then class B and then C. So if we execute this code, I am executing this code. You can see the output constructor of class A, constructor of class B and constructor of class C. This output is displayed because order of execution of constructor is base to derived. So you have to remember that whenever you are going to implement multi-level inheritance, first topmost base class constructor will be executed and then its lower derived class and then its lower derived class. So this hierarchy you have to follow in case of multi-level inheritance. I hope you have understood how you can implement default constructor in multiple, sorry, multi-level inheritance. If you want to watch more programming related videos, you can follow my YouTube channel that is sanjaygupta underscore tech school. You can download my app Techimage that is available on Google Play. Thank you for watching this video.