C Program To Convert Binary Number To Octal Number, using While Loop

Published: 25 January 2020
on channel: Technotip
5,364
91

http://technotip.com/7038/c-program-t...

Lets write a C program to convert a number from Binary number system(base 2) to Octal number system(base 8), using while loop.

In this C program we first convert the user entered number from Binary number system to Decimal number system. Then we take the result(which is in Decimal number system) and convert to Octal number system.

Number Systems
1. Binary Number System uses base 2 and digits 01.
2. Octal Number System uses base 8 and digits 01234567.
3. Decimal Number System uses base 10 and digits 0123456789.
4. Hexadecimal Number System uses base 16 and digits 0123456789ABCDEF.

C Programming Interview / Viva Q&A List
http://technotip.com/6378/c-programmi...

C Programming: Beginner To Advance To Expert
http://technotip.com/6086/c-programmi...


On this page of the site you can watch the video online C Program To Convert Binary Number To Octal Number, using While Loop with a duration of hours minute second in good quality, which was uploaded by the user Technotip 25 January 2020, share the link with friends and acquaintances, this video has already been watched 5,364 times on youtube and it was liked by 91 viewers. Enjoy your viewing!