0

How 1+1is 1 in c++

14th Jul 2017, 1:12 PM
Parikshit Sharma
Parikshit Sharma - avatar
4 Réponses
+ 4
Or you can overload the + operator to do nothing / return original instance of the object.
14th Jul 2017, 2:12 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
How do I tie my shoes? Over, under, around and through, Meet Mr. Bunny Rabbit, pull and through!
14th Jul 2017, 1:16 PM
AgentSmith
0
Depends on the type and on how the overloaded + operator is defined.
14th Jul 2017, 6:33 PM
Denis Felipe
Denis Felipe - avatar
- 3
Boolean 1 is true so true + true= 1 means true
14th Jul 2017, 1:13 PM
Parikshit Sharma
Parikshit Sharma - avatar