Amazon interview question

Convert an int to a string (character array) in C.