C语言。格式化符号

%s 输出字符串

%d 输出整形数字

%f 输出浮点数数字

%c 输出字符

%x 输出16进制

%04d 输出长度固定的整形数字(0001,0002,。。。。)

原文地址:https://www.cnblogs.com/alianblank/p/13882266.html