/in/inDictionary.c: In function 'inDictionary':
/in/inDictionary.c:9:6: error: expected ',' or ';' before 'for'
for (int i=0;i<length1;i++){
^~~
/in/inDictionary.c:9:19: error: 'i' undeclared (first use in this function)
for (int i=0;i<length1;i++){
^
/in/inDictionary.c:9:19: note: each undeclared identifier is reported only once for each function it appears in
/in/inDictionary.c:9:32: error: expected ';' before ')' token
for (int i=0;i<length1;i++){
^
/in/inDictionary.c:9:32: error: expected statement before ')' token
/in/inDictionary.c:11:20: error: 'agr' undeclared (first use in this function)
if (strcmp(agr[i],dic[j]==0)){
^~~
/in/inDictionary.c:11:27: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Werror=int-conversion]
if (strcmp(agr[i],dic[j]==0)){
^~~
In file included from /in/inDictionary.c:2:0:
/usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'int'
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
/in/inDictionary.c:22:22: error: format '%d' expects argument of type 'int', but argument 2 has type 'char *' [-Werror=format=]
printf("%d","F");
~^ ~~~
%s
/in/inDictionary.c: In function 'main':
/in/inDictionary.c:31:17: error: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Werror=format=]
scanf("%s",arr[i]);
~^ ~~~~~~
/in/inDictionary.c:34:18: error: passing argument 1 of 'inDictionary' makes pointer from integer without a cast [-Werror=int-conversion]
inDictionary(arr[20]);
^~~
/in/inDictionary.c:3:6: note: expected 'char *' but argument is of type 'char'
void inDictionary(char arg[20]){
^~~~~~~~~~~~
cc1: all warnings being treated as errors