struct xyz { int a; int b; char c[0]; }; struct xyz x1; printf("Size of structure is %d",sizeof(x1));
输出:8 为什么结构的大小不是 9 个字节?是不是因为声明的字符数组的大小为 0?
c
c ×1