What is polymorphism?

What is polymorphism?

Polymorphism is one name-many forms. i.e. An entity in C++ can have same name but different types of arguments and/or return types. Depending upon argument passed to function and/or value expected from calling routine, correct function is invoked.
Function overloading, operator overloading, templates, virtual functions, etc. are forms of polymorphism in C++.