A.7.4.1 Prefix Incrementation Operators

A unary expression followed by a ++ or -- operator is a unary expression. The operand is incremented ++ or decremented -- by 1. The value of the expression is the value after the incrementation (decrementation). The operand must be an lvalue; see the discussion of additive operators (Par.A.7.7) and assignment (Par.A.7.17) for further constraints on the operands and details of the operation. The result is not an lvalue.

TCPL/A.07.04.1_Prefix_Incrementation_Operators (2008-02-23 15:34:08由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.