【发布时间】:2012-09-06 21:12:30
【问题描述】:
在 C 中使用零长度数组有什么好处?
例如:
struct email {
time_t send_date;
int flags;
int length;
char body[];
}list[0];
【问题讨论】:
-
@KeithMiller:这是我的问题。
-
糟糕,我完全误读了这个问题。我虽然你问过使用零长度数组的
disadvantage是什么。