When the characters are output as integers, the corresponding values of the characters in the ASCII code table are output.
For example:
char ch = ' a
printf("%d %c ",ch,ch);
The output result is 97 A.
%d is output as an integer, and the number 97 corresponding to the character A in the ASCII code table is output.
Output %c by character, output character a.