printf char* code example
Example 1: printf signed char
%c --- char
%hh --- signed char (synomous with char)
%hhu --- unsigned char
%h --- short
%hu --- unsigned short
%d --- int
%u --- unsigned int
%lu --- unsigned long (including size_t, which is returned by sizeof())
Example 2: printf char value
char ch = 'a';
printf("%d", ch);