+ 3

What is use of the operator overloading in c++?

explain this concept

26th Dec 2017, 8:16 AM
Antony Gladson
Antony Gladson - avatar
2 odpowiedzi
+ 1
if you want to make objects respond to different operators like +, -, etc. you can overload operators. Otherwise you will get compile error
26th Dec 2017, 8:33 AM
Eligijus Silkartas
Eligijus Silkartas - avatar