Int is an integer and float is a single-precision floating point. (float)a is to convert int type A into float type, which is 3.0. b/2 = 7;
(int)f = 7; 7%3= 1; Finally 3.0+7+1=11.0; Because A is a floating-point type, the final answer is a single-precision floating-point type. That is 1 1.0. .