Hacker News new | ask | show | jobs
by opcvx 4009 days ago
You don't know C.

Reinterpreting an object as an incompatible object is undefined. int and float are incompatible.

C Standard also specifically states that using an incorrect printf format specifier will result in undefined behavior.