I am seeing anomalous behavior in print function while dealing with int and float numbers.
float y = 9/5;
printf("%f", y);
printf("%f", 9/5);
First print statement outputs 1.000000 which is acceptable while other outputs 0.000000. Why outputs are different in both cases?