发布网友 发布时间:2024-10-23 23:41
共1个回答
热心网友 时间:2024-11-02 17:11
# include <stdio.h>
struct a{
int x;
int y;
};
struct b{
struct a sss[3];
}hus[10]=
{
{1,2,3,4,5,6 }, //+++++++++++++++++=错误地方,你加太多大括号了
{7,8,9,0,11,12}
};
void main()
{
printf("%d %d\n",
hus[0].sss[0].x,hus[0].sss[2].y);
}