Operators:
i) Arithmetic Operators: +, -, *, /, %, ++ (increment) ,-- (decrement)
Code:
Output:
Code:
Output:
iii) Comparison operators: == (compare only values not type), === (compare both values and type), !=, > ,<, >=, <= .
Comparison operator determine the two operands satisfied the given condition. Comparison operator return either true or false.
Code:
iv) Conditional operator: (?:) Conditional operator evaluates first operand, based on that that result returns either second or third operand.
Syntax: result = expression ? result1 : result2.
Code:
Output:

v) Logical operators: && (logical and), || (logical or), ! (logical not).
Code:
v) Logical operators: && (logical and), || (logical or), ! (logical not).
Code:
Output:
vi) Bitwise operators: & (and), | (or), ^ (xor) , ~ (not).
Code:
Output:
vii) String operators: (+) concatination operator used to combine two or more strings.
Code:
Output: