Binary

Binary, the base-2 numeral system, represents numbers using two symbols: 0 and 1

Octal

The octal numeral system, or oct for short, is the base-8 numeral system, using the digits 0 to 7

Others

Example |
---|

Hex and octal are close enough to binary;most data on a hdd is binary data not meant to represent printable characters so if you use cat a command meant to output text not binary from question See binary instead of hex in Binary file while in a shell like bash |

Some languages use a 0 prefix to represent octal notation 0777;binary from question How to denote different numeral systems while typing? |

You ll need to convert binary to another base here i use decimal when writing this code because c doesn t have binary constants which would be ten times from question How to reverse an int but grouped by 2 bit in C? |