Contents / Previous / Next


Number Representations

Each byte contains 8 bits. Each bit is either a one or a zero and therefore, there are
possible combinations.
Hence a byte can only hold a number as large as 255.

Octal: (prefixed "O")
Hexadecimal: (prefixed "0x")