sample Flashcards
1
Q
void ft_lstadd_back(t_list **alst, t_list *new) { t_list *tmp; if (alst) { if (*alst == NULL) *alst = new; else { tmp = ft_lstlast(*(alst)); tmp->next = new; } } }
A
void ft_lstadd_back(t_list **alst, t_list *new) { t_list *tmp; if (alst) { if (*alst == NULL) *alst = new; else { tmp = ft_lstlast(*(alst)); tmp->next = new; } } }