News

The unary bitwise complement operator "~" inverts a bit pattern. it can be applied to any of the integral types, making every "0" a "1" and every "1" a "0". For example, a byte contains 8 bits; ...
^, Bitwise XOR operator: returns bit by bit XOR of input values. ~, Bitwise Complement Operator: This is a unary operator which returns the one’s compliment representation of the input value, i.e.