Language: C

#include<stdio.h>
#include<string.h>
#include<ctype.h>

int main()
{
 int w[10],t[1000];
 int i,s;

 for(i=0;scanf("%s",&w[i])=='\0';i++)w[i]=tolower(w[i]);

 for(i=0;scanf("%s",&t[i])=='\0';i++){if(strcmp(t[i],'END_OF_TEXT')==0)break;
                                      s=0;
                                      t[i]=tolower(w[i]);
                                      if(strcmp(w[i],t[i])==0)s++;
                                      }
 printf("%d",c);
 return 0;
}



Compiler output:
main.c: In function 'main':
main.c:12:54: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
   12 |  for(i=0;scanf("%s",&t[i])=='\0';i++){if(strcmp(t[i],'END_OF_TEXT')==0)break;
      |                                                      ^~~~~~~~~~~~~
main.c:12:50: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   12 |  for(i=0;scanf("%s",&t[i])=='\0';i++){if(strcmp(t[i],'END_OF_TEXT')==0)break;
      |                                                 ~^~~
      |                                                  |
      |                                                  int
In file included from main.c:2:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'int'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:12:54: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   12 |  for(i=0;scanf("%s",&t[i])=='\0';i++){if(strcmp(t[i],'END_OF_TEXT')==0)break;
      |                                                      ^~~~~~~~~~~~~
      |                                                      |
      |                                                      int
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'int'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:15:50: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   15 |                                       if(strcmp(w[i],t[i])==0)s++;
      |                                                 ~^~~
      |                                                  |
      |                                                  int
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'int'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:15:55: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   15 |                                       if(strcmp(w[i],t[i])==0)s++;
      |                                                      ~^~~
      |                                                       |
      |                                                       int
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'int'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:17:14: error: 'c' undeclared (first use in this function)
   17 |  printf("%d",c);
      |              ^
main.c:17:14: note: each undeclared identifier is reported only once for each function it appears in