prog.c: In function 'main':
prog.c:7:9: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Werror=int-conversion]
printf(x);
^
In file included from prog.c:1:0:
/usr/include/stdio.h:362:12: note: expected 'const char * restrict' but argument is of type 'int'
extern int printf (const char *__restrict __format, ...);
^
cc1: all warnings being treated as errors