Vtable and Vptr !!!

Vtable or virtual table is similar to static array, To implement the virtual function C++ uses a special form of late binding as the virtual table. Virtual table is a […]

4,367 total views, 16 views today

Polymorphism means many form, Basically Polymorphism is of two types Compile time Polymorphism: Compile time polymorphism further divided in to two parts  Function Overloading: When There is multiple function with the […]

3,555 total views, no views today


Inheritance allows to define a new class in erms of another class, In Inheritance super class(base class) properties inherited in to derived class(sub class)  Types of Inheritance:  There are different tpes […]

1,793 total views, no views today

As We know that hybrid inheritance can lead to the diamond problem where most derived class has the 2 copies of the super most class  So As per below solution […]

4,150 total views, 5 views today

1,856 total views, 5 views today

1,856 total views, 5 views today

Copy Constructor is the frequently asked topic in the interview for fresher and exerience guys, So One of the basic Example of usage of copy constructor.

2,901 total views, no […]

2,901 total views, no views today

Sometime It is not possible to know that  which function is going to called untill runtime, Only at runtime compiler call’s the particular function based on the function signature matched, […]

2,881 total views, 10 views today

Pure virtual function is a Member function of the class which is not implemented into the base class even though it is implemented in all its derived class. It is […]

2,411 total views, 5 views today

Virtual Function: A virtual function is a special type of member function which is start with keyword virtual and It is redefined in to the derived class. When we refer […]

2,426 total views, 5 views today