Etiketler

Data structures Lab Work-9

0 Yorum
Laboratory Works 9 Consider the following linked list node structure:   struct node{  int data; struct node *next; };   Implement the following basic functions of the linear linked list structure:   Check empty list   int is_empty( struct node *header) { if(header==NULL)                    return 1; //TRUE else                     return 0; //FALSE }   Create a node   struct node * newnode(int d) {             struct node *temp;             temp=(struct node *) malloc(sizeof(node));             temp->data =d;             tem.....

Devamı için tıklayın