1. 1 (z = 0) && (x = 2) 为假 表达式为 0 0||(z = 1) 表达式为 非零 是 1
2. int y = (int ) (d/2.0) = (int)(3.4/2.0) = (int) 1.7 = 1
double x = (double) 1 = 1.00000000
printf的结果 为 1.00 1
1. 1
2. x = 0 y = 1
1. 1
2. int y = (int ) (d/2.0) = (int)(3.4/2.0) = (int) 1.7 = 1
double x = (double) (1/2=0) = 0.000000
printf的结果 为 0.00 1