In C, character constants are of type int, as you've shown.
Question 8.9
However, the char data type is sufficient for handling basic characters:
But more specifically, I was taking issue with your use of numeric values in lieu of character literals. Computers may use different character sets, so 65 may not always correspond to 'A'. It is good practice to strive for portability whenever possible.Originally Posted by C11-draft