PrecedenceOperatorDescriptionAssociativity
1() [] . ++ —Parentheses, Brackets, Arrow, Dot, Increment, DecrementLeft to right
2! ~ ++ — + - * & sizeof (type)Logical NOT, Bitwise NOT, Increment, Decrement, Unary Plus, Unary Minus, Dereference, Address-of, Size ofRight to left
3* / %Multiplication, Division, ModulusLeft to right
4+ -Addition, SubtractionLeft to right
5<< >>Bitwise Left Shift, Bitwise Right ShiftLeft to right
6< > >=Less than, Less than or equal to, Greater than, Greater than or equal toLeft to right
7== !=Equal to, Not equal toLeft to right
8&Bitwise ANDLeft to right
9^Bitwise XORLeft to right
10|Bitwise ORLeft to right
11&&Logical ANDLeft to right
12||Logical ORLeft to right
13?:Conditional operatorRight to left
14= += -= *= /= %= &= ^= |= < >>=Assignment operatorsRight to left
15,CommaLeft to right

These operators are arranged in order of precedence, from the highest to the lowest. The table also includes descriptions of each operator and their associativity (whether they are left-to-right or right-to-left associative).