operator overloading | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

operator overloading

in https://code.sololearn.com/cX197x2iV64b why it's 12? not 67?

5th Feb 2017, 3:55 AM
Jastria Rahmat
Jastria Rahmat - avatar
1 Antwort
+ 8
because you didn't add the values... you have just returned the value of var.. In place of return var, what you have written as the comments, make those as statements.
5th Feb 2017, 7:31 AM
Saumya
Saumya - avatar