C++ Polymorphism
Polymorphism is an important concept of object-oriented programming. It simply means more than one form. That is, the same entity (function or operator) behaves differently in different scenarios. For example,
The +
operator in C++ is used to perform two specific functions. When it is used with
numbers (integers and floating-point numbers), it performs addition.
int a = 5;
int b = 6;
int sum = a +
b; // sum = 11

