提问关于c语言中结构体数组的问题。
请问我定义一个结构体struct L。它包含int a,int b,char c;再定义一个struct L *w,*new;
那么,new=(struct L *)malloc(5*sizeof(struct L)),那么new是不是就是空的L[5]呢?请大神帮忙回答一下。。还有程序里总出现dereferencing pointer to incomplete?
我在做通讯录。求教。。
2015-11-07 22:49
2015-11-08 10:09
2015-11-08 10:10
2015-11-11 14:37