Dołącz do listy w C
void Append(Node *head, Node node){
Node tmp = *head;
if(*head == NULL) {
*head = node;
return;
}
while(tmp->next != NULL){
tmp = tmp->next;
}
tmp->next = node;
return;
}
ChangMing