4 ms·
Single & (and single | for "or") are bitwise and/or, not logical and/or. They have to evaluate both sides to be able to return a result. For example: 1100
by Izkata 3y ago
Single & (and single | for "or") are bitwise and/or, not logical and/or. They have to evaluate both sides to be able to return a result.
For example:
1100 & 0101 -> 0100
1100 | 0101 -> 1101