C program to binary to decimal conversion

C program to binary to decimal conversion

Output:

Enter the binary: 1010
The decimal of given binary 1010 is 10

Implementation: