If you want to explain your problem, you should know how to store character data in C language. Character data stored in C language is actually an ASc code that stores corresponding character data, and ASc code is an integer. So this is normal. Assign the ASc code of a character to a character variable.