C – Logical NOT

C – Logical NOT 2017-07-19T18:07:45+00:00

Logical NOT :

C – LOGICAL NOT EXAMPLE PROGRAM :

Suppose that a and b are integer variables whose values are 10 and 3, respectively. Then the result of arithmetic expression !(a>b) is False.

Output :

!0 = 1

!1 = 0

Enter first number

10

Enter second number

3

(10>3) is 1

!(10>3) is 0

Prev Next