ProAnswers.org

What is pre increment and post increment?

++n (pre increment) increments n before its value is used in an assignment operation or any

expression containing it. n++ (post increment) does increment after the value of n is used.