What is operator overloading? state the three steps involved in the process of overloading
Answers
Answered by
8
Answer:
In computer programming, operator overloading, sometimes termed operator ad hoc polymorphism, is a specific case of polymorphism, where different operators have different implementations depending on their arguments. Operator overloading is generally defined by a programming language, a programmer, or both.
Answered by
3
Precedence and associativity of the operators cannot be changed. 4) Overloaded operators cannot have default arguments except the function call operator () which can have default arguments. 5) Operators cannot be overloaded for built in types only. At least one operand must be used defined type.
Similar questions