Write a C program to input binary number from user and convert to octal number system. How to convert from binary number system to octal number system in C. Logic to convert binary to octal number system in C programming.
Example
Input
Input binary number: 00110111
Output
Octal number: 67