请问一下,以下函数中
#include <stdio.h>
#include <stdlib.h>
typedef struct
{
char *name;
int id;
unsigned int age;
char group;
float score;
}Student;
int main()
{
Student cls[] = {
{"张三", 1001, 16, 'A', 95.50},
{"李四", 1002, 15, 'A', 90.00},
{"王五", 1003, 16, 'B', 80.50}
};
printf("%d\n",sizeof(Student));
printf("%d",sizeof(cls));
}
关键字typedef去掉的话为什么会出现下面的情况