Language: C

#include <stdio.h>
void main (void)
{
  int A,B,C;
  A　=　rand()%9+1;
  B　=　rand()%9+1;
  C　=　rand()%9+1;
  if(A==B && B!=C)
  {
    printf('Yes');
  }
  else if(B==C && A!=C)
  {
    printf('yes');
  }
  else if(A==C && B!=C)
  {
    printf('yes');
  }
  else
  {
    printf('No');
  }
}

Compiler output:
main.c: In function 'main':
main.c:5:4: error: stray '\343' in program
    5 |   A<U+3000>=<U+3000>rand()%9+1;
      |    ^~~~~~~~
main.c:5:7: error: stray '\343' in program
    5 |   A<U+3000>=<U+3000>rand()%9+1;
      |             ^~~~~~~~
main.c:5:9: error: implicit declaration of function 'rand' [-Wimplicit-function-declaration]
    5 |   A　=　rand()%9+1;
      |         ^~~~
main.c:6:4: error: stray '\343' in program
    6 |   B<U+3000>=<U+3000>rand()%9+1;
      |    ^~~~~~~~
main.c:6:7: error: stray '\343' in program
    6 |   B<U+3000>=<U+3000>rand()%9+1;
      |             ^~~~~~~~
main.c:7:4: error: stray '\343' in program
    7 |   C<U+3000>=<U+3000>rand()%9+1;
      |    ^~~~~~~~
main.c:7:7: error: stray '\343' in program
    7 |   C<U+3000>=<U+3000>rand()%9+1;
      |             ^~~~~~~~
main.c:10:12: warning: multi-character character constant [-Wmultichar]
   10 |     printf('Yes');
      |            ^~~~~
main.c:10:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |     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:14:12: warning: multi-character character constant [-Wmultichar]
   14 |     printf('yes');
      |            ^~~~~
main.c:14:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   14 |     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:18:12: warning: multi-character character constant [-Wmultichar]
   18 |     printf('yes');
      |            ^~~~~
main.c:18:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   18 |     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:22:12: warning: multi-character character constant [-Wmultichar]
   22 |     printf('No');
      |            ^~~~
main.c:22:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   22 |     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, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~