Converting a 2 or 3 digit integer into a Character

I know a character can hold one byte of data (i.e. 0 - 255) and the character arrays are created as follow:

char myArray = "0123456712345671234567"


myArray[0] = 0
myArray[1] = 1

and so on.

In this case each character in the array is holding a single digit number.

However i need to be able to store values from 0 to 255 in each character in the char array. I suppose this could be done if the value was converted to ASCII.

I've tried many different ways of achieving this, but with no success. Any help with an implementation would be much appreciated. I would be starting with in an integer value between 0 and 255.

Treat it the same as any other array.

char myArray [] = { 1,2,4,56,57,102,103,104,200 };

Adding unsigned is required.