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 […]

3,393 total views, 8 views today


Also, the code above can be optimized still by calculating pow(z, (n/2)) only one time (instead of twice) and using its value in the two return() expressions above. […]

2,700 total views, 5 views today

//Recursive Program

2,999 total views, 19 views today

2,999 total views, 19 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 […]

2,975 total views, 5 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,539 total views, 4 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 […]

3,490 total views, 5 views today


2,949 total views, 5 views today

2,949 total views, 5 views today