I\'m trying to find a way to find the length of an integer (number of digits) and then place it in an integer array. The assignment also calls for doing this without the use
Being a computer nerd and not a maths nerd I'd do:
char buffer[64]; int len = sprintf(buffer, "%d", theNum);