#include<stdio.h>
struct Lessons
{
int haoma;
char ming;
int chengji;
};
struct Students
{
int num;
char name[10];
struct Lessons gaoshu;
struct Lessons Eng;
struct Lessons C;
struct Lessons zhengzhi;
struct Lessons PE;
};
struct Students s[3]={1,"zhao", };
这里gaoshu这些都包含上一个结构体里的成员,怎么初始化?
如果s这个数组定义为s[2],那么花括号会不会被系统认定为在定义s数组里的第二个成员?
追答struct Students