Table of operators and their precedence
The following table lists the precedence and associativity of C operators. Operators are listed from top to bottom, in descending precedence. The grouping operator, ()
, has the highest precedence. The sequence operator, (,)
, has the lowest precedence. There are four classes of operators: postfix
, prefix
, unary
, and binary
: