You now know that, whenever the character !
is followed immediately
by the character =
, the two characters together denote the
inequality operator.
Note, however, that the !
character can appear alone, in
which case the !
character denotes the
not operator. The not operator is a unary operator that
inverts true and false. Thus, the value of !0
is 1
and
!1
is 0
. Similarly, the value of !(6 == 3)
is
1
, meaning that it is true that 6
is equal to 3
is
false. Also, the value of !(6 != 3)
is 0
, meaning that it is
false that 6
is not equal to 3
is false.