I want to know if there is a function in C library that convert a decimal to binary number and save number by number in a position on an array.
For example: 2 -> 10 -> array [0] = 0 array[1] = 1.
Thanks.
I want to know if there is a function in C library that convert
Share
here:
But this only prints the value of an integer in binary format. All data is represented in binary format internally anyway.