Lista C Dodaj element
// Create a list
List<string> AuthorList = new List<string>();
// Add items using Add method
AuthorList.Add("Mahesh Chand");
dani.ou
// Create a list
List<string> AuthorList = new List<string>();
// Add items using Add method
AuthorList.Add("Mahesh Chand");
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;
}