If x++ adds one to x, does x+++ add two?


No. Think about how many '+'s you would have to type to add 100! Instead, you should do something like this: x += 2; which is equivalent to: x = x + 2. 


Last updated October 4, 2017

Was this article helpful?
23 out of 29 found this helpful
Have more questions? Submit a request