Extracting Digits From A Number In C