I've made three different versions for converting a decimal based number to a binary number in C language. In the second version the decimal number can be as large as 2^64-1 that's the limit of the unsigned long long integer type.
Three simple algorithms in C that convert a number from decimal to binary.
Repository from Github https://github.comLuMarans30/dec2bin-c
I've made three different versions for converting a decimal based number to a binary number in C language. In the second version the decimal number can be as large as 2^64-1 that's the limit of the unsigned long long integer type.
Three simple algorithms in C that convert a number from decimal to binary.
MIT License