// #define a int[10]

#include <stdio.h>
#include <stdlib.h>
#define a int[10]

int main()
{
    int *p=(int *)malloc(sizeof(a));

    p[0]=1;

    printf("%d\n",p[0]);

    return 0;
}



// typedef int a[10];

#include <stdio.h>
typedef int a[10];

int main()
{
    a b;

    b[0]=1;

    printf("%d\n",b[0]);

    return 0;
}



相关文章:

  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2021-06-04
  • 2021-11-22
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2021-12-05
  • 2022-03-05
  • 2022-12-23
  • 2021-07-08
  • 2022-01-27
相关资源
相似解决方案