'++a' is called prefix increment. First, the value stored in the variable 'a' gets incremented and then gets assigned to the same variable.
Whereas, 'a++' is called postfix increment. The value stored in the variable 'a' gets incremented after the execution of the particular line.
Read More →