/in/foo.c: In function 'main':
/in/foo.c:91:5: warning: 'gets' is deprecated [-Wdeprecated-declarations]
for(int i=0;i<n;i++) gets(sm[i]);
^~~
In file included from /in/foo.c:2:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.c:118:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(sm[i][j] == 'x' && (curArr[j] & 0x2)== 2
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:120:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|| j>=1 && (curArr[j] & 0x2) == 2 && (curArr[j-1]) == 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/tmp/ccb5rQkJ.o: In function `main':
foo.c:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.