Decimal to Binary Conversion Logic in C program
This is program which is gives you output as Binary of any Integer. Program Store the binary output as Integer just for reference. We can use it further where required. Decimal to binary needs Math.h Library file to use power function.
/* Program For Decimal to Binary Conversions*/
printf("Decimal to Binary of this no %d t :%dn",bs,sum);