Language: C

#include <stdio.h>
#include <string.h>
int main(void){
  char S[10];
  char T[11];
  int i, j;
  scanf("%s\n %s", S, T);
  
  for(i=0;i<=11;i++){
    if(strcmp(S[i], T[i])==1){
      if(strcmp(S[i], '\n')==1){
        printf("No");
      }else if(strcmp(S[i], '\n')==0){
        printf("Yes");
      }
      return 0;
    }
    printf("No");
    return 1;
    
  }

Compiler output:
main.c: In function 'main':
main.c:10:16: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   10 |     if(strcmp(S[i], T[i])==1){
      |               ~^~~
      |                |
      |                char
In file included from main.c:2:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:10:22: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   10 |     if(strcmp(S[i], T[i])==1){
      |                     ~^~~
      |                      |
      |                      char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:11:18: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   11 |       if(strcmp(S[i], '\n')==1){
      |                 ~^~~
      |                  |
      |                  char
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:11:23: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   11 |       if(strcmp(S[i], '\n')==1){
      |                       ^~~~
      |                       |
      |                       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:13:24: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   13 |       }else if(strcmp(S[i], '\n')==0){
      |                       ~^~~
      |                        |
      |                        char
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:13:29: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   13 |       }else if(strcmp(S[i], '\n')==0){
      |                             ^~~~
      |                             |
      |                             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:21:3: error: expected declaration or statement at end of input
   21 |   }
      |   ^