> int main()
> {
> nodeptr[10];
> for(i=0;i<10;i++)
> a[i]=NULL;


> a[0]->s1.counter=0;  // here the  error and the
> error is
> dereferencing pointer to incomplete type??? what
> does it mean ???

a[i] is NULL so a[0]->s1 won't work.
you have to allocate space for a[i] before acessing
his fields.
(put a[i] = (nodeptr)malloc(sizeof(node)) or something
like this)


To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada

Web Bug from http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1099998113841828
Web Bug from http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=groups/S=:HM/A=2343726/rand=971038787


Yahoo! Groups Links

Reply via email to