c语言结构体指针必须初始化
摘要:
先说结论 struct test{ int i; struct buf *p;} t; //定义结构体t struct buf{ char data[512]; struct buf *prev; struct buf *next;} ; t定义后里面的成员变量在GCC下已经初始化为0了,但p并没有 阅读全文
posted @ 2016-06-12 16:08 Joker_88 阅读(10638) 评论(0) 推荐(1)