Expression evaluates to: 3.000000
The integer division is done first, then that integer 2 is promoted to double
2.0
and added to the double
1.0.
printf("Expression evaluates to: %f\n", a/d + 1.0 );
Your system may display a different number of zeros.