C program to convert a binary number to an equivalent decimal number
kw.c
Output
kodingwindow@kw:~$ gcc kw.c
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to convert a binary number to decimal ——————————————————————————————————————————— Enter the binary number 11111111 Equivalent decimal number is 255 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C program to demonstrate the static and local variables
Find the output of C programs
C Strings
Advertisement