hello,
i have a doubt regarding the declaration of structures.
i am using 2 structures both of which have head pointer one of which is local and the other one is global.how do i refer them.i tried addressing both of them as head but this gives an error.can someone please help me out.
eg:
Regards,Code:Struct A { int i; char *a; struct A *next; }A; struct A *head = NULL;(local head) struct B { char *name; int sign; B *c,*c_tail; struct B *next; }B; struct B *head = NULL;(global head)
cutelucks