precedence Precedence of Expressions in C
Conversions Usual Arithmetic Conversions
. Structure Member Operator
-> Indirect Structure Field Reference Operator
++ Increment Operator (prefix and postfix)
-- Decrement Operator (prefix and postfix)
sizeof Size of Variable or Type (unary)
~ Bitwise NOT operator (unary)
! Logical NOT operator (unary)
& Address (unary); Bitwise AND (binary)
* Indirection (unary); Multiplication (binary)
/ Division operator
+ Identity (unary); Addition (binary)
- Negation (unary); Subtraction (binary)
<< Bitwise Shift Left
>> Bitwise Shift Right
== Equality operator
!= Inequality operator (Not Equal)
< Less Than operator
> Greater Than operator
<= Less than or Equal to operator
>= Greater Than or Equal To
^ Bitwise Exclusive OR operator (XOR)
| Bitwise OR operator
&& Logical AND operator
|| Logical OR operator
? : Conditional operator (ternary)
= Assignment operator
op= Compound Assignment operator
, Expression evaluation
% Modulus operator
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster