C language operator precedence rules


Order of evualtion - arithmetic expression
operator                   meaning                   associativity
++                   increment                   right to left
--         p;          decrement                   right to left
*                   multiply                   left to right
/                   divide                   left to right
%                   modulo                   left to right
+                   add                   left to right
-         ;          subtract                   left to right
=                   assignments (all)                   right to left