使用单精度类型变量 #include<stdio.h> int main() { float fFloatStyle; fFloatStyle=1.23f; printf("%f ",fFloatStyle); return 0; }