Manual de Lenguaje C
Formatos de printf y scanf
int: %d
short: %hd
long: %ld
unsigned int: %u
unsigned short: %hu
unsigned long: %lu
float, double: %f
double (sólo scanf): %lf
char: %c
cadena de caracteres: %s
Manuel Gonzalez Verdejo
I.E.S. Gran Capitan