逆操作OR是AND与补码.
OR
AND
char c = 'a'; c &= ~' ';
DEMO
说明:
01100001 (char 'a') AND 11011111 (~ char ' ') = 01000001 (char 'A')