|
QUESTION is defined as (BB | !BB)
If we assume that BB is hexadecimal notation of 187,
BB (0xBB) equals 10111011 in binary.
On the other side of "|" it says "!BB".
The "!" in C(++) is a NOT operator. Now we perform a bitwise
NOT operation on 0xBB.
So !BB equals 01000100 (=68)
The operator between "BB" and "!BB" is "|",
which is the bitwise OR operator in C(++).
| |
10111011 |
187 |
| |
01000100 |
68 |
|
OR
|
|
|
| |
11111111 |
255 |
The result is 11111111 (=255) and the hexadecimal notation is 0xFF.
So I conclude that QUESTION equals 0xFF and that
Shakespeare knew C++;
|