This documentation is archived and is not being maintained.

Postfix Expressions

Postfix expressions consist of primary expressions or expressions in which postfix operators follow a primary expression. The postfix operators are listed in the following table.

Postfix Operators

Grammar

postfix-expression :
primary-expression
postfix-expression [ expression ]
postfix-expression ( expression-listopt )
simple-type-name ( expression-listopt )
postfix-expression . name
postfix-expression –> name
postfix-expression ++
postfix-expression ––
expression-list :
assignment-expression
expression-list , assignment-expression

See Also

Types of Expressions

Show: