Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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())
Source by www.linuxquestions.org #
 
PREVIOUS NEXT
Tagged: #printf #signed #char
ADD COMMENT
Topic
Name
9+8 =