And you mean look-up tables for getting the ascii value of a number digit?
Then in C, why not use the same? I mean create a look-up table too.
However, you can also use something else. If you look at the ascii table, digits 0 to 9 have consecutive ascii values, starting from 0x30 or 48 decimal. So you can add the digit you have to the 48 value and the result of the summation is the ascii code of your digit!
However, please be more detailed in your question. Perhaps I have understood something different.