Object Oriented Programming20815 marksOperator overloading definition and purposes
What are the purposes of operator overloading? Address the problem in multiple inheritance.
What are the purposes of operator overloading? Address the problem in multiple inheritance. [5]
--- Operator overloading allows existing C++ operators to be given additional meanings when applied to user-defined data types (classes). The main purposes are: 1. Readability and Natural Syntax Allows objects to be used with operators in a natural, intuitive way. For example: c3 = c1 + c2 for co...