Integer printf/sscanf Conversions : scanf int « printf scanf « C Tutorial






%ConversionUses
%hd(signed) short int
%d(signed) int
%ld(signed) long int
%huunsigned short int
%uunsigned int
%luunsigned long int


4.22.scanf int
4.22.1.Integer printf/sscanf Conversions