Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

Compiler

Options

$
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
Exit Code:
0