/in/foo.c: In function 'main':
/in/foo.c:21:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d",x,n);
^
/in/foo.c:21:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d%d",x,n);
^
/in/foo.c:21:2: warning: 'x' is used uninitialized in this function [-Wuninitialized]
scanf("%d%d",x,n);
^~~~~~~~~~~~~~~~~
/in/foo.c:21:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]