I need some assistance in creating my header node or cell in a double circularly linked list. I have come up with the single linked list header node:
Code:
list_ptr createHeader (void){
list_ptr L;
L = (list_ptr) malloc(sizeof(list));
L->next = NULL;
return L;
}
Is it as simple as stating the following:
Code:
L->prev = NULL;
Thanks again!
Regards,
Jose

