operator overloading is usedwhy we use operator overloading
Answers
Answered by
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
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
English,
2 months ago
Computer Science,
2 months ago
English,
5 months ago
Math,
5 months ago
English,
9 months ago