Binary is a base 2 number system, while octal is base 8. This happens to make conversion between binary and octal fairly trivial, although more complex than conversion to hexadecimal. To convert to...
First of all we will talk about how binary number are converted back into decimal representation and later we will have program. Here is the formula of this transformation: Binary number: a3a2a1a0...