scanf Format Specifiers

The following tables detail the data size read from a file or string when used with floating-point and integer scanf format specifiers:

Floating-point format specifier Data read from file or string
%l{e|f|g} quadword (64 bits)
%{e|f|g} dword (32 bits)

Integer format specifier Data read from file or string
%I64{d|i|o|u|x} quadword (64 bits)
%{d|i|o|u|x} dword
%h{d|i|o|u|x} word (16 bits)
%c byte