Operator overloading | SoloLearn: Learn to code for FREE!

+4

Operator overloading

Is operator overloading practical in in c++?

6/25/2019 5:42:36 AM

Sanjay Kamath

4 Answers

New Answer

+14

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

+7

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

+2

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++.

0

Yeah it is practical