I just wanted to test simple operators in different data types in C and there is an unexpected output
INPUT
printf("%.2f \n", 10.0 + 4.0 + 5);
printf("%d \n", 10 + 4);
printf("%d \n", 12 * 5);
printf("%.5f \n", 12 * 5);
OUTPUT
19.00
14
60
19.00000
I don't understand why I got 19.00000 output when I tried to multiply 12 * 5