Logical Operators in C

C language supports these following logical operators:

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