6.5.3.1 Prefix increment and decrement operators

Previous Table of Contents

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

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

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

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

1075 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.

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

1077 Forward references: additive operators (6.5.6), compound assignment (6.5.16.2).

Next

Created at: 2005-06-29 02:18:59 The text from WG14/N1124 is copyright © ISO