text: #include <stdio.h>
  // Define complex number
  typedef struct {
      float re;
      float im;
  } Cplfloat;
  
  void X_5(int dim1, int dim2, Cplfloat a[dim1][dim2], Cplfloat b[dim2][dim1]) {
      int i, j;
      for (i=0; i<dim1; i++) {
          for (j=0; j<dim2; j++) {
              b[i][j].re = a[j][i].re;
              b[i][j].im = a[j][i].im;
          }
      }
  }
  
  void Y_6(int dim1,int dim2) {
      Cplfloat a[dim1][dim2], b[dim2][dim1];
      X_5(dim1,dim2,a,b);
      {
          int i;
          for(i=0;i<dim1;i++)
              printf("%f",b[i][i].re+b[i][i].im);
      }
  }
  
  