/in/foo.c: In function 'main':
/in/foo.c:4:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(a);
^~~~
/in/foo.c:6:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d",&n);
^~~~~
/in/foo.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:27:2: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
puts(a);
^~~~
/tmp/ccMThsyc.o: In function `main':
foo.c:(.text.startup+0x13): warning: the `gets' function is dangerous and should not be used.