Krantesh Singh

Operator Precedence and Associativity in Programming Languages

Operator Description Associativity
( ) [ ] -> . Left to Right
! ~ ++ — + – * & Right to Left
* / % Right to Left
< <= > >= == != Left to Right
& ^ || Left to Right
&& || ?: Right to Left
= += -= *= /= %= &= ^= |= <<= >>= Right to Left
, Left to Right


Scroll to Top