#include int main() { float a = 1234.5f; printf(\"%d\\n\", a); return 0; }
It displays a 0!! How is that
0
It's not an integer. Try using %f.
%f