Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. {
  2. if (*head!=NULL)
  3. {
  4. if((*head)->down==NULL)
  5. {
  6. *head=NULL;
  7. }
  8. else
  9. {
  10. kat *tmp;
  11. tmp=(*head)->down;
  12. free(*head);
  13. *head=tmp;
  14. (*head)->up=NULL;
  15. }
  16.  
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement