Operation Meaning Operation Meaning
Operation Meaning Operation Meaning
~ + * / % |
Meaning Assignment statement Selection Less than Greater than Logical not (true to false, false to true) 1s complement Addition Subtraction Multiply or pointer reference Divide Modulo, division remainder Logical or
Meaning Equal to comparison Less than or equal to Greater than or equal to Not equal to Shift left Shift right Increment Decrement Boolean and Boolean or Add value to Subtract value to
& ^ .
Multiply value to Divide value to Or value to And value to Exclusive or value to Shift value left Shift value right Modulo divide value to Pointer to a structure Associativity Left to right Right to left Left to right Left to right Left to right
Precedence Highest
Operators () []. -> ++(postfix) --(postfix) ++(prefix) --(prefix) * + << < == & ^ | / >> <= != > >= % ! ~ sizeof(type) +(unary) -(unary) &(address) *(dereference)
Left to right Left to right Left to right Left to right Left to right
Left to right Left to right Right to left Right to left Left to right