C Playground - Converting Char to int, [a g h s a] to [1 2 3 4 1]. Start with one and increment for each unique no.: Online Interpreter, Compiler & Editor | Sololearn

Converting Char to int, [a g h s a] to [1 2 3 4 1]. Start with one and increment for each unique no.

+3