Operator overloading | Sololearn: Learn to code for FREE!


Operator overloading

Is operator overloading practical in in c++?

6/25/2019 5:42:36 AM

Sanjay Kamath

4 Answers

New Answer


https://code.sololearn.com/cHJ0O7DW54OF/?ref=app https://www.sololearn.com/learn/CPlusPlus/1901/


Using an operator like + is always more concise than using a function name, so I guess it is practical.


It definitely is. You'll find it in a lot of code you'll read. Operator overloading is one of the skills you should have a firm grasp of if you plan on really programming c++.


Yeah it is practical