Language: C

#include <stdio.h>
int main(){
  int a, b, c;
  
  scanf("%d %d %d",&a, &b, &c);
  
  if(a == b && a != c){
    printf('Yes')
  }
  
  if(a == c && a != b){
    printf('Yes')
  }
  
  if(b == c && a != c){
    printf('Yes')
  }
  
  else {
    printf('No')
  }
  
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:8:12: warning: multi-character character constant [-Wmultichar]
    8 |     printf('Yes')
      |            ^~~~~
main.c:8:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |     printf('Yes')
      |            ^~~~~
      |            |
      |            int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:8:18: error: expected ';' before '}' token
    8 |     printf('Yes')
      |                  ^
      |                  ;
    9 |   }
      |   ~               
main.c:12:12: warning: multi-character character constant [-Wmultichar]
   12 |     printf('Yes')
      |            ^~~~~
main.c:12:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   12 |     printf('Yes')
      |            ^~~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:18: error: expected ';' before '}' token
   12 |     printf('Yes')
      |                  ^
      |                  ;
   13 |   }
      |   ~               
main.c:16:12: warning: multi-character character constant [-Wmultichar]
   16 |     printf('Yes')
      |            ^~~~~
main.c:16:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   16 |     printf('Yes')
      |            ^~~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:16:18: error: expected ';' before '}' token
   16 |     printf('Yes')
      |                  ^
      |                  ;
   17 |   }
      |   ~               
main.c:20:12: warning: multi-character character constant [-Wmultichar]
   20 |     printf('No')
      |            ^~~~
main.c:20:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   20 |     printf('No')
      |            ^~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:20:17: error: expected ';' before '}' token
   20 |     printf('No')
      |                 ^
      |                 ;
   21 |   }
      |   ~