i++ and ++i
you should make clear the difference between i++ and ++i,
when you use i=i++,the value change (the increment) after the Assignment.it's true the value not changed.
if you you use i=++i,the value change (the increment) before the Assignment.so the value will change to 11.
sorry ! i am poor in english!
|