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

preview_player
Показать описание

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

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

Expected Output for the Input
User Input:
Enter an Octal Number
14

Output:
Binary Equivalent of Octal no 14 is 1100.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
welcome to shbcf.ru