title: Decimal to Binary on C library
body: <p>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.</p>