+ 1
What do you mean a-=b
7 Answers
+ 6
a= a-b;
+ 4
a -=b;
is a short form to write
a = a - b;
you can read it as "the new value of 'a' will be equal to the current value of 'a' minus the value of 'b'"
+ 3
It means a=a-b
+ 2
It means b will be subtracted from a and will be assigned to a
+ 2
a-=b
=> a=a-b
+ 2
its a subract b..
+ 1
It's just the same as a=a-b
just see it as if the = sign is not there and the left expression is equal to what was on the left hand sid