Edit

Share via


C primary expressions

Primary expressions are the building blocks of more complex expressions. They may be constants, identifiers, a Generic selection, or an expression in parentheses.

Syntax

primary-expression:
identifier
constant
string-literal
( expression )
generic-selection

expression:
assignment-expression
expression , assignment-expression

See also

Generic selection Operands and Expressions