摘要:
在GNU C中允许声明零长度数组作为扩展。零长度数组可以用作结构的最后一个元素,该数组实际上是可变长度对象的标头。 #include <stdio.h> int main() { struct line { int length; char contents[0]; }; int this_leng 阅读全文
posted @ 2020-10-20 16:16
一骑红尘妃子笑!
阅读(355)
评论(0)
推荐(0)
浙公网安备 33010602011771号