title: C programming-Divide number into digits and save them in list (array)
body: <p>I want to divide number into digits and save them in a 5 element array with zeros on the left in C.For example if have a number  like 234 i want to make an array :[0 0 2 3 4].If i have a 4 digit number like 3486 :[0 3 4 8 6] and if i have a 5 digit number like 32894 [3 2 8 9 4]</p>