📜  前增量与后增量 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:30.150000             🧑  作者: Mango

代码示例1
++x (pre-increment) means "increment the variable; the value of the expression is the final value"
x++ (post-increment) means "remember the original value, then increment the variable; the value of the expression is the original value"