Logical Operators ............



Logical Operators:

 
 
 
   T he operators which are used to combine two or more expressions are called Logical Operators.
Expression:  The combination of operators and operands is called expression.
  The following are Logical Operators.
Operator
Description
Example
&&
Logical and
(a>5) && (a<15)
||
Logical or
(a>20) || (a >b)
!
Logical not
! (a>10)