The printf function takes an argument type, such as %d or %i for a signed int .
printf
%d
%i
signed int
(printf函数采用参数类型,例如%d或%i用于signed int 。)
long
(但是,我没有看到任何long价值的东西。)
Put an l (lowercased letter L) directly before the specifier.
l
(在说明符之前直接放置l (小写字母L)。)
unsigned long n; long m; printf("%lu %ld", n, m);
2.1m questions
2.1m answers
60 comments
57.0k users