notes lab exercise program include include int length struct node )struct node int datastruct node *link}/ function which appends new node to an existing list used for building list *struct node *insert(struct node *pint nstruct node *tempif( ==nullp=(struct node *)malloc(sizeof(struct node))if( ==nullprintf("error\ ")exit( ) -data np-link nullelse temp pwhile (temp-link !nulltemp temp-linktemp-link (struct node *)malloc(sizeof(struct node))if(temp -link =nullprintf("error\ ")exit( )temp temp-link lovely professional university