int main() { printf("%f\n", (float)1/2); return 0; }
$ ./a.out 0.500000
说明是先(float)1 然后在除 2;
posted on 2018-06-28 20:05 rivsidn 阅读(131) 评论(0) 收藏 举报