/in/foo.c: In function 'main':
/in/foo.c:7:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(a);
^~~~
/in/foo.c:13:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d %d",ct1,ct2);
^~~~~~
/in/foo.c:13:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:13:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c: In function 'Count':
/in/foo.c:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for( i=0 ; a[i]!=0 ;i++)
^~~
/in/foo.c:23:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return count;
^~~~~~
/tmp/cc0qDZHc.o: In function `main':
foo.c:(.text.startup+0x17): warning: the `gets' function is dangerous and should not be used.