Saved Bookmarks
| 1. |
What is operator overloading? Give some example of operators which can be overloaded. |
|
Answer» The term operator overloading, refers to giving additional functionality to the normal C++ operators like It is also a type of polymorphism in which an operator is overloaded to give user defined meaning to it. For example ‘+’ operator can be overloaded to perform addition on various data types, like for Integer, String (concatenation) etc. |
|