/in/foo.c: In function 'main':
/in/foo.c:6:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(a);
^~~~
/in/foo.c:15:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%c",a[i]);
^~~~~~
/in/foo.c:15:3: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:15:3: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:9:6: warning: unused variable 'd' [-Wunused-variable]
int d=strlen(b);
^
/tmp/ccCRvBPU.o: In function `main':
foo.c:(.text.startup+0x1a): warning: the `gets' function is dangerous and should not be used.