2、在C语言中,对于数值类型只有通过printf类函数输出这一种方式,比如printf, sprintf, fprintf等。这类函数输出时要求有格式符号, 其中long double的格式符号为%Lf。
確定! 回上一頁