Nitpick Bitwise and Logical Operator Family
1. Logical Operators
Used for boolean (bool) expression
branching. * ! : Logical NOT *
&& : Logical AND (short-circuiting) *
|| : Logical OR (short-circuiting)
2. Bitwise Operators
Used for exact bit manipulation on integer types. *
& : Bitwise AND * | : Bitwise
OR * ^ : Bitwise XOR * ~ : Bitwise
NOT (One’s Complement) * << : Left Shift
* >> : Right Shift