These modifiers determine how printf functions interpret the next input argument, arg[f].
Modifier
|
Type of arg
|
arg is interpreted as ...
|
F
|
p, s,
|
A far pointer
|
N
|
and n)
|
A near pointer (Note. N cannot be used with any conversion in the huge model.)
|
h
|
d i o u x X
|
A short int
|
l
|
d i o u x X
|
A long int
|
|
e E f g G
|
A double
|
L
|
e E f g G
|
A long double
|
arg.
Both F and N reinterpret the input variable arg. Normally, the arg for a p, %s, or n conversion is a pointer of the default size for the memory model.
h, l, and L override the default size of the numeric data input arguments. Neither h nor l affects character (c,s) or pointer () types.
|