Main.c: In function ‘main’:
Main.c:79:20: error: expected identifier or ‘(’ before ‘int’
79 | for(int x = i + 1, int y = j; x < r; x++)
| ^~~
Main.c:81:9: error: ‘y’ undeclared (first use in this function)
81 | if(a[x][y] != '*')
| ^
Main.c:81:9: note: each undeclared identifier is reported only once for each function it appears in
Main.c:12:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
12 | scanf("%d",&c);
| ^~~~~~~~~~~~~~
Main.c:16:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
16 | scanf("%s",a[i]);
| ^~~~~~~~~~~~~~~~