Home Page
About Us


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


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



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 you get meaningless mush

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 notation is less common often hexadecimal is used instead as it makes the notation a bit more compact and ends up using the right padding for octets

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 more useful than octal constants

from question  

How to reverse an int but grouped by 2 bit in C?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0