They are two different operators: the =
(assignment) operator together with the !
operator. It can basically be translated to an assignment of a
to the negated value of b
.
if (a = !b)
But, what the user, probably, meant to write was the !=
operator:
if (a != b)