code_junkie

Should One Know Operator Precedence thoroughly

Nov 13th, 2011
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. int x = (y << shift) + offset;
  2.  
  3. int x = y << (shift + offset);
  4.  
  5. (a * b) + c
  6.  
  7. SELECT c.Name
  8. FROM [Customer] c LEFT JOIN [Order] o
  9. ON c.CustomerKey = o.CustomerId
  10. WHERE c.Name like 'B%'
  11. OR c.Name like 'Z%'
  12. AND o.CustomerId is NULL
  13.  
  14. a == a & some_flag
Add Comment
Please, Sign In to add comment