typedef struct
{
int num[10];
char name[10];
}DATA;
//这样我们就可以使用DATA来进行变量声明了
typedef struct node
{
int num[10];
char name[10];
}DATA;
struct node tmp;
DATA tmp;
//经过实验上面两种都是可以的。
typedef定义结构体数组
typedef struct node
{
int num[10];
char name[10];
}DATA[10];
DATA tmp;//这里就相当于 node tmp[10];
typedef double* DoP[10];
DoP tmp[10]; //就相当于 double* tmp[10];