There is such code:
#include int main() { float d = 1.0; int i = 2; printf(\"%d %d\", d, i); getchar(); return 0; }
A float is stored in memory in a special format, it's not just a number and some decimal places see How to represent FLOAT number in memory in C