Language: C

include <stdio.h>

typedef struct {
  char c;
  int n;
} card;

void Bubblesort(card *, int);
void SelectionSort(card *, int);

int main() {

  card A[36],B[36],x;
  int i,j,k,N;

  scanf("%d",&N);

  for(i = 0; i < N; i++) {
    scanf(" %c%d",&A[i].c,&A[i].n);
  }
   for(i = 0; i < N; i++) {
      B[i].c = A[i].c;
      B[i].n = A[i].n;
    }

  Bubblesort(A,N);
  SelectionSort(B,N);
  return 0;
}


//??????????????????                                                                                        
void Bubblesort(card *A, int N) {
  int i,j,k;
  card x,B[36];
   for(i = 0; i < N; i++) {
      B[i] = A[i];
    }

  for(i = 0; i < N-1; i++) {
    for(j = N-1; j > i; j--) {
      if(A[j].n < A[j-1].n) {
     x.c = A[j].c;
     x.n = A[j].n;
     A[j].c = A[j-1].c;
     A[j].n = A[j-1].n;
     A[j-1].c = x.c;
     A[j-1].n = x.n;

      }
    }
  } for(i = 0; i < N; i++) {
    printf("%c%d",A[i].c,A[i].n);
    if(N-1 != i) printf(" ");
  }
  printf("\n");
printf("Stable\n");
  return;
}


//?????¬????????§????????????                                                                                  
void SelectionSort(card *A, int N) {
  int i,j,flag,minj;
  card x,B[36];
     for(i = 0; i < N; i++) {
      B[i].n = A[i].n;
      B[i].c = B[i].c;
    }


  for(i = 0; i < N; i++) {
    minj = i;
    flag = 0;
    for(j = i; j < N; j++) {
      if(A[j].n < A[minj].n) {
    minj = j; /*????°????????????£??????????????????????¨???¶?????????????????????*/
    flag = 1; /*for?????§?¢??????????????????§???????°???????????????£??????flag???1????????????*/

      }
    }
    if(flag == 1) {
      x.c = A[i].c;
      x.n = A[i].n;
      A[i].c = A[minj].c;
      A[i].n = A[minj].n;
      A[minj].c = x.c;
      A[minj].n = x.n;
    }
  }for(i = 0; i < N; i++) {
    printf("%c%d",A[i].c,A[i].n);
      if(N-1 != i) printf(" ");
    }
    printf("\n");
    for(i = 0; i < N; i++) {
      if(B[i].n != A[i].n) flag = 2;
    }
    if(flag == 2) printf("Not stable\n");
  else printf("Stable\n");
  return;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c:6:3: warning: data definition has no type or storage class
    6 | } card;
      |   ^~~~
main.c:6:3: error: type defaults to 'int' in declaration of 'card' [-Wimplicit-int]
main.c:8:17: error: expected declaration specifiers or '...' before 'card'
    8 | void Bubblesort(card *, int);
      |                 ^~~~
main.c:9:20: error: expected declaration specifiers or '...' before 'card'
    9 | void SelectionSort(card *, int);
      |                    ^~~~
main.c: In function 'main':
main.c:13:7: error: expected ';' before 'A'
   13 |   card A[36],B[36],x;
      |       ^~
      |       ;
main.c:16:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   16 |   scanf("%d",&N);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | include <stdio.h>
main.c:16:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   16 |   scanf("%d",&N);
      |   ^~~~~
main.c:16:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:19:20: error: 'A' undeclared (first use in this function)
   19 |     scanf(" %c%d",&A[i].c,&A[i].n);
      |                    ^
main.c:19:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:22:7: error: 'B' undeclared (first use in this function)
   22 |       B[i].c = A[i].c;
      |       ^
main.c:26:3: error: implicit declaration of function 'Bubblesort' [-Wimplicit-function-declaration]
   26 |   Bubblesort(A,N);
      |   ^~~~~~~~~~
main.c:27:3: error: implicit declaration of function 'SelectionSort' [-Wimplicit-function-declaration]
   27 |   SelectionSort(B,N);
      |   ^~~~~~~~~~~~~
main.c: At top level:
main.c:33:17: error: expected declaration specifiers or '...' before 'card'
   33 | void Bubblesort(card *A, int N) {
      |                 ^~~~
main.c:63:20: error: expected declaration specifiers or '...' before 'card'
   63 | void SelectionSort(card *A, int N) {
      |                    ^~~~