0
What is the difference between "+=" & "=+"
3 Answers
+ 3
x+=1 is a increment operator like x++
x=+1 isn't exist
+ 2
The first is an accumulator operator the second doesn't exist, if you'd use it anywhere I'm your code you'd get a syntax error
0
second doesn't exist..
first one will add the amount of value (which is written after =) to the present value of the variable..
e.g. a+=2 ~ a=a+2