[c] Getting each individual digit from a whole integer