Operator Precedence and Associativity
C++ Operator Precendence
Operators for Fundamental Types
Arithmetic Operators
+ - * / % // Not all operators can be perform on binary numbers // Divisions performed with integral operands will produce integral results. // Remainder division or Modulus applies only to integral operands
Unary Arithmetic Operators
// Sign Operators + - // Increment / Decrement Operators ++ -- i++ ++i j-- --j
Logical Operators
& | ! && ||
Relational Operators
< <= > >= == !=
No comments:
Post a Comment