柔性数组成员c:
struct test
{
int a;
double b;
char c[];
};
struct test
{
int a;
double b;
char c[0];
};
用多了还不知道原来c不占空间。
大牛解析:
http://blog.youkuaiyun.com/supermegaboy/article/details/4854939
柔性数组成员c:
struct test
{
int a;
double b;
char c[];
};
struct test
{
int a;
double b;
char c[0];
};
用多了还不知道原来c不占空间。
大牛解析:
http://blog.youkuaiyun.com/supermegaboy/article/details/4854939