Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. ! has same precedence as unary plus and minus
- 2. && and || has lower precedence than relational and equality
- operators: i < j && k == m → (i < j) && (k == m)
- 3.C rule → else belongs to the nearest if that hasn’t been
- paired with an else
- 4.Conditional operator has precedence only greater than
- assignment operators and less than all others discussed so far
- → Parentheses are necessary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement