Ampersand in binary code
AnswerAmpersand & is 00100110 in binary — ASCII code 38.
012806413201608141201
How ampersand becomes 00100110
The character’s code is 38. Writing 38 as a sum of powers of two gives 32 + 4 + 2 = 38. Put a 1 under each place value used and a 0 everywhere else, and you get 00100110.
| Binary (8-bit) | 00100110 |
|---|---|
| Decimal (ASCII code) | 38 |
| Hexadecimal | 26 (0x26) |
| Octal | 046 |
| Unicode | U+0026 |
| HTML entity | & |
Frequently asked questions
What is ampersand in binary?
Ampersand is 00100110 in 8-bit binary. That is ASCII and UTF-8 code 38, which is 32 + 4 + 2 = 38.