Professional Documents
Culture Documents
Format Specifiers
Format Specifiers
unsigned char
unsigned short
int
long
double
%g or %G Similar as %e or %E float
double
unsigned short
int
long
%l or %ld or %li Signed Integer long
unsigned long
unsigned short
int
unsigned int
long
%s String char *
unsigned long
Integer
unsigned short
int
unsigned int
long
%n Prints nothing
%% Prints % character