试一下就知道
代码:
#include#includeint main(){ float a; double b; a = 0; b = 0; a++, b++; printf("%f\n%lf\n", a, b); return 0;}
结果:
跟int效果一样