回复 4楼 满晓
pprintf()所有参数
type Output Example
c Character
d or i Signed decimal integer
e Scientific notation (mantise/exponent) using e character
E Scientific notation (mantise/exponent) using E character
f Decimal floating point
g Use shorter %e or %f
G Use shorter %E or %f
o Signed octal
s String of characters sample
u Unsigned decimal integer
x Unsigned hexadecimal integer
X Unsigned hexadecimal integer (capital letters)
p Address pointed by the argument
n Nothing printed. The argument must be a pointer to integer where the number of characters written so far will be stored.