Prefix increment and decrement operators

Previous Table of Contents "New C Standard" commentary

1081 The operand of the prefix increment or decrement operator shall have qualified or unqualified real or pointer type and shall be a modifiable lvalue.

1082 The value of the operand of the prefix ++ operator is incremented.

1083 The result is the new value of the operand after incrementation.

1084 The expression ++E is equivalent to (E+=1).

1085 See the discussions of additive operators and compound assignment for information on constraints, types, side effects, and conversions and the effects of operations on pointers.

1086 The prefix -- operator is analogous to the prefix ++ operator, except that the value of the operand is decremented.

1087 Forward references: additive operators (6.5.6), compound assignment (


Created at: 2008-01-30 02:39:42 The text from WG14/N1256 is copyright © ISO