What are operators?
Operators are basic symbols >= which provide help to perform arithmetic, logical, conditional and bitwise operations. Operators allow you to evaluate conditions.
What binary operators do you know?
Relational Operators:
Greater then (>)
Less then (<)
Greater then or equal to (>=)
Less then or equal to (<=)
Equality Operators:
Equal to (==)
Not equal to (!=)
Multiplicative Operators:
*, / and %
Additive Operators + and -
Logical Operators:
AND - (&&)
OR - (||)
NOT - (!)
What logical operators do you know?
&& - AND operation - Both sides need to be true.
|| - OR operation - One side need to be true.
operator represents logical
! - NOT -