I did that for the fourth
I am struggling for the next one, it is struct list *list_pop_front(struct list *list);Code:void list_push_front(struct list *list, struct list *elm) { list = list -> next; list -> data = *elm; }
which extracts the first element (not the sentinel) of the list. How could the pointer go BACK (the opposite of list = list -> next)