Operator | Description |
---|---|
id++ |
post-increment of the
variable id (not required by POSIX(r)) |
id-- |
post-decrement of the
variable id (not required by POSIX(r)) |
++id |
pre-increment of the
variable id (not required by POSIX(r)) |
--id |
pre-decrement of the
variable id (not required by POSIX(r)) |
+ |
unary plus |
- |
unary minus |
<EXPR> ? <EXPR> : <EXPR> |
conditional (ternary) operator <condition> ? <result-if-true> : <result-if-false> |
<EXPR> , <EXPR> |
expression list |
( <EXPR> ) |
subexpression (to force precedence) |