Home   Cover Cover Cover Cover
 

Priority of operators

int x = 1, y = 2;

ExpressionResult
3 * x - y / 22
x + 1 << 3 * y128
x++ + ++x4
x > 3 == truefalse
(-y / 3 * -y) - y % 3-2
~ (x << 17)0xfffdffff
(y | 5) & ~x6
x ^ y3
x > y ? 1 : -1-1