Computer Science, asked by killingomer111222, 5 months ago

operator overloading is usedwhy we use operator overloading ​

Answers

Answered by Anonymous
1

Answer:

hope it's helpful and Mark me as brainlist and follow me

Explanation:

Operator overloading allows C/C++ operators to have user-defined meanings on user-defined types (classes). Overloaded operators are syntactic sugar for function calls: class Fred {

Answered by anubhab28
1

Answer:

Operator overloading is syntactic sugar, and is used because it allows programming using notation nearer to the target domain and allows user-defined types a similar level of syntactic support as types built into a language.

Similar questions