为什么C的printf格式字符串有%c和%s?
%c
%s
我知道它%c代表一个单个字符并%s表示一个以空字符结尾的字符串,但单独的字符串表示不足够吗?
c string-formatting
c ×1
string-formatting ×1