[C ++] pre / post combination with increment / decrement of

(1) whether front or rear, the variable plus + 1, - the variable minus 1

(2) is used as an expression, front operator is the result after the subtraction, a rear operator before subtraction result

(3) is not recommended increment / decrement operators used in an expression, not used in the output statement

Guess you like

Origin blog.csdn.net/TOMOCAT/article/details/89637188