Language: C

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

size_t str_length(const char *s)
{
    size_t len = 0;
    while(*s++)
        len++;
    return((int)len);
}
void swap(char *x,char *y)
{
    char temp=*x;
    *x=*y;
    *y=temp;
}
void sort(char *t,int n)
{
    int k=n-1;
    while(k>=0)
    {
        int i,j;
        for(i=1,j=-1;i<=k;i++)
        {
            if(*(t+i-1)>*(t+i))
            {
                j=i-1;
                swap(t+i,t+j);
            }
        }
        k=j;
    }
}
int main(void)
{
    
    char A[256], B[256];
ㅤchar *a, *b, *tmp;
ㅤa = A; b = B;


char C[256], D[256];
ㅤchar *c, *d, *tmp1;
ㅤc = A; d = B;


ㅤscanf("%s", a);
 sort(st,str_length(a));
 c=a;
　scanf("%s", b);
　sort(st,str_length(b));
　d = b;
ㅤif (strcmp(a, b) > 0) {
ㅤㅤtmp = a;
ㅤㅤa = b;
ㅤㅤb = tmp;
ㅤ}

if(a == c){
     printf("Yes");
}
    else if (a == b){
        printf("No");
    }else {
         printf("No");
    }
    
    
   
    
    
    
   
    return(0);
}









Compiler output:
main.c: In function 'main':
main.c:38:1: error: unknown type name '\U00003164char'; did you mean 'char'?
   38 | ㅤchar *a, *b, *tmp;
      | ^~~~~~
      | char
main.c:39:1: error: '\U00003164a' undeclared (first use in this function)
   39 | ㅤa = A; b = B;
      | ^~~
main.c:39:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:39:12: error: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
   39 | ㅤa = A; b = B;
      |            ^
main.c:43:1: error: unknown type name '\U00003164char'; did you mean 'char'?
   43 | ㅤchar *c, *d, *tmp1;
      | ^~~~~~
      | char
main.c:44:1: error: '\U00003164c' undeclared (first use in this function)
   44 | ㅤc = A; d = B;
      | ^~~
main.c:44:12: error: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
   44 | ㅤc = A; d = B;
      |            ^
main.c:47:1: error: implicit declaration of function '\U00003164scanf' [-Wimplicit-function-declaration]
   47 | ㅤscanf("%s", a);
      | ^~~~~~~
main.c:48:7: error: 'st' undeclared (first use in this function)
   48 |  sort(st,str_length(a));
      |       ^~
main.c:48:21: error: passing argument 1 of 'str_length' from incompatible pointer type [-Wincompatible-pointer-types]
   48 |  sort(st,str_length(a));
      |                     ^
      |                     |
      |                     int *
main.c:4:31: note: expected 'const char *' but argument is of type 'int *'
    4 | size_t str_length(const char *s)
      |                   ~~~~~~~~~~~~^
main.c:50:1: error: stray '\343' in program
   50 | <U+3000>scanf("%s", b);
      | ^~~~~~~~
main.c:51:1: error: stray '\343' in program
   51 | <U+3000>sort(st,str_length(b));
      | ^~~~~~~~
main.c:51:22: error: passing argument 1 of 'str_length' from incompatible pointer type [-Wincompatible-pointer-types]
   51 | 　sort(st,str_length(b));
      |                      ^
      |                      |
      |                      int *
main.c:4:31: note: expected 'const char *' but argument is of type 'int *'
    4 | size_t str_length(const char *s)
      |                   ~~~~~~~~~~~~^
main.c:52:1: error: stray '\343' in program
   52 | <U+3000>d = b;
      | ^~~~~~~~
main.c:53:1: error: implicit declaration of function '\U00003164if' [-Wimplicit-function-declaration]
   53 | ㅤif (strcmp(a, b) > 0) {
      | ^~~~
main.c:53:14: error: passing argument 1 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types]
   53 | ㅤif (strcmp(a, b) > 0) {
      |              ^
      |              |
      |              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:53:17: error: passing argument 2 of 'strcmp' from incompatible pointer type [-Wincompatible-pointer-types]
   53 | ㅤif (strcmp(a, b) > 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:53:24: error: expected ';' before '{' token
   53 | ㅤif (strcmp(a, b) > 0) {
      |                        ^~
      |                        ;