1.%d 整型控制符 2.%c 字符控制符 3.%s 字符串控制符 4.%f 浮点数控制符 5.%lf 双精度浮点数控制符 6.%ld 长整型输出控制符 转载于:https://www.cnblogs.com/cgy601785959/p/10023222.html