prog.c: In function 'main':
prog.c:5:3: error: expected ',' or ';' before 'printf'
printf("-12.123\n",x);
^~~~~~
prog.c:6:10: warning: too many arguments for format [-Wformat-extra-args]
printf("-12.123456789\n",x);
^~~~~~~~~~~~~~~~~
prog.c:7:10: warning: too many arguments for format [-Wformat-extra-args]
printf("-12.123456789\n",x);
^~~~~~~~~~~~~~~~~
prog.c:8:10: warning: too many arguments for format [-Wformat-extra-args]
printf("-12.1234567\n",x);
^~~~~~~~~~~~~~~
prog.c:9:10: warning: too many arguments for format [-Wformat-extra-args]
printf("-12.123456\n",x);
^~~~~~~~~~~~~~
prog.c:10:10: warning: too many arguments for format [-Wformat-extra-args]
printf("-12\n",x);
^~~~~~~