结构体嵌套数组怎么赋初值
#include<stdio.h>struct a2
{
int s;
int s2;
};
struct a1
{
int s1;
char c;
struct a2 b;
};
void main()
{
struct a1 o[2]={{1,'a',{10,100}},{2,'b',{20,200}}};
}
2018-07-03 00:16
2018-07-03 04:49
2018-07-03 08:56
2018-07-03 23:27
2018-07-04 05:39
2018-07-05 16:50