Operators
Operators
Arithemetic Operators
- + Addition 1+2
- - Subtraction 2-3
- * Multiplication 3*4
- / Division 4/3
- % Modules 5%3
Unary Operators
- ++ Increament a++ or ++a
- -- Decrement a-- or --a
- + Unary Plus +a
- - Unary Minus -a
Assignment Operators
- = equals
- a=a+b a+=b
- a=a-b a-=b
- a=a*b a*=b
- a=a/b a/=b
- a=a%b a%=b
Relational Operators
- < Lessthan a < b
- > Greaterthan a > b
- <= Lessthan or Equal to a <= b
- >= Greaterthan or Equal to a >= b
- == Equalto a == b
- != Not Equal to a != b
Bitwise Operators
- & Bitwise AND a&b
- | Bitwise OR a|b
- ! Bitwise NOT a!b
Logical Operators
- && Logical AND a&&b
- || Logical OR a||b
- ! Logical NOT !TRUE or !FALSE