I could not understand your problem and as far as I know itoa() converts integer to character?