Polymorphism in C++ C++ polymorphism means that a call to a member function will cause a different function to be executed depending on the type of object that invokes the function . Consider the following example where a base class has been derived by other two classes −