Operators
Arithmetic operators
Increment and decrement operators
Assignment operators
Comparison operators
Logical operators
Operator precedence
Operator precedence table()i++, i--++i, --i***, /+, -<, <=, >, >===, !=, ===, !==&&, ||
Exercises
- Declare a few variables, assign values to them with arithmetic operators of
+, -, *, / - If
x = trueandy = false, what are the values ofx && yandx || y?