+ 1

Why ++ additions only one and not two

Why ++ additions only one and not two

9th Mar 2018, 7:46 AM
בניה לוינגר
בניה לוינגר - avatar
3 Antworten
+ 8
You could always overload it to make it add two instead of one 😁
9th Mar 2018, 8:17 AM
jay
jay - avatar
+ 7
it's an unary operator.it works on one variable at a time.++ is not addition,it increments variables by one
9th Mar 2018, 8:13 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
Jay! That is a new level of evil. LOL 😂
9th Mar 2018, 9:22 AM
Kerrash
Kerrash - avatar