C

Logical Operators

C language supports following 3 logical operators.

Operator Description Example
&& Logical AND (a && b) is false
|| Logical OR (a || b) is true
! Logical NOT (!a) is false



Subscribe us on Youtube

Share This Page on


Ask Question