- or download this
123 decimal = 01111011 binary
234 decimal = 11101010 binary
^^ ^ ^ <-- ANDing to find overlap
106 decimal 01101010 result
- or download this
'0' = char 48 = 110000 binary
'1' = char 49 = 110001 binary
'2' = char 50 = 110010 binary
...
'7' = char 55 = 110111 binary
'8' = char 56 = 110100 binary
'9' = char 57 = 110101 binary
- or download this
'1' = char 49 = 110001 binary
'2' = char 50 = 110010 binary
^^ <-- ANDing to find overlap
'0' = char 48 = 110000 binary
- or download this
'2' = char 50 = 110010 binary
'3' = char 51 = 110011 binary
^^ ^ <-- ANDing to find overlap
'2' = char 49 = 110010 binary
- or download this
'5' = char 53 = 110101 binary
^^^^ <--Note these bits
- or download this
5 = 0101 binary - or download this
'A' = char 65 = 01000001 binary
'B' = char 66 = 01000010 binary
'a' = char 97 = 01100001 binary
'b' = char 98 = 01100010 binary
- or download this
print 'AbCdEfGh' | ' ', "\n";
print 'aBcDeFgH' & '________', "\n";
- or download this
abcdefgh
ABCDEFGH