实型数据与字符型数据 计算机对浮点类型的运算不精确。 #include <stdio.h> int main() { float a = 3.1;//单精度。使用4个字节32位 double b = 3.1;//双精度。8字节64位 long double c = 3.1;//长双精度。16字节128位 printf("a=%f b=%f c=%Lf ",a… 2018-7-27 12:14 | 461 | 0 | C/C++ 100 字 | 1 分钟内 字符型数据实型数据