直接贴上验证的代码,处理过程在注释部分已经标出。 #include <stdio.h> //数据类型转换 void dftype(){ //浮点型转双精度发生的数据截断 float a=2.3; double d