而在输出double类型时却可以用%f,这是因为printf("%f",a);在执行时C自动将double型的参数转换成flaot型。 故double型的输入输出形式如下:. double a;
確定! 回上一頁