[求助]结构体问题`
请问,这个程序哪里有问题啊??main()
{
struct student
{
int num;
char name[20];
char sex;
int age;
float score;
};
struct student stu[3]={{1 , "one" , 'M' , 20 , 80.6},
{2 , "two" , 'N' , 21 , 90.5},
{3 , "three" , 'M' , 22 , 10.5}};
printf("%d " , stu[1].num);
}