The answer is the same on the surface. But the essence is completely different, and the output after conversion is already a string. In reality, however, it looks the same. It's not an integer, but a string. The content of a string contains integers, letters, etc.
Just read more C code. See what others write. If you are not sure, follow the procedure step by step and print it out in real time to see the results.