There are two operators:
The first one:
~ (bitweise Negation)
~(10) means (01)
And the second:
The bitwise AND operator (&) compares each bit of the first operand to the corresponding bit of the second operand. If both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0.
(01) & (11) means (01)