Hi suresh, You're probably thinking of the statement as an equality statement. It's actually an assignment statement, in which the inverse of x is assigned to x. Now, if the statement read: x == ~x then it would always be false (except when x = 0?) Hope this helps, Paul Villangca