$
prog.cc: In function 'int main()': prog.cc:6:23: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] printf("%f\n", 123); ^ 987.654321 987.654321
prog.cc: In function 'int main()': prog.cc:6:23: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=] printf("%f\n", 123); ^
987.654321 987.654321