7. The word “polymorphism” means having many
forms. In simple words, we can define
polymorphism as the ability of a message to be
displayed in more than one form.
If we create two or more members having the
same name but different in number or type of
parameter, it is known as C++ overloading.
9. *The process of having two or more function with the
same name, but different in parameters is known as
function overloading .
*In function overloading, the function is redefined by
using either different types of arguments or a different
number of arguments.
10.
11. Operator overloading is a compile-time
polymorphism in which the operator is
overloaded to provide the special
meaning to the user-defined data type.
Operator overloading is used to
overload or redefines most of the
operators available in C++.
12. We can overload almost any operator in C++ but there
are some of the operators which cannot be
overloaded.
SUCH AS:
* Member selector – (.)
* Ternary operator – (?:)
* Scope operator – (::)
* Member pointer selector – (*)
* Sizeof