February 2013
Intermediate to advanced
672 pages
16h 2m
English
Postfix expressions include uses of the postfix ++ and -- operators. Names are not considered to be primary expressions (§15.8), but are handled separately in the grammar to avoid certain ambiguities. They become interchangeable only here, at the level of precedence of postfix expressions.
PostfixExpression: Primary ExpressionName PostIncrementExpression PostDecrementExpression
The rules for evaluating expression names are given in §6.5.6.
A postfix expression followed by a ++ operator is a postfix increment expression.
PostIncrementExpression: PostfixExpression ++
The result of the postfix expression must be a variable of a type that is ...
Read now
Unlock full access