First you need to convert it to a string -- either a real string, or just a simple char* array:
Code:
char buf[40];

itoa(number, buf, 10);
Then you can access it as buf[0], buf[1], etc.