i've got an assignment which i have absolutly no idea how to start..

i'm not asking anyone to do it for me, but just a little help to get me started off..

we need to be able to break up numbers and store them as separate elements in an array. so say you have the number 42, create an array which stores the number as array[0] = 4, array[1] = 2. we need to be able to do this up to 100 digits.

also, the number 42 isn't entered in by the user using scanf or getchar's. so it's something like, number = 42;

any help is greatly appreciated =)