According to K&R C section 1.6, a char is a type of integer. So why do we need %c. And why can\'t we use %d for everything?
char
%c
%d
%d think char is 32bit and print it like a integer, but %c convert int value of char to ascii character then print it.