Professional Documents
Culture Documents
Sal Il Insertion
Sal Il Insertion
Sal Il Insertion
newPtr->next = head;
head = newPtr;
return head;
//code here
}
while(cur->next)
{
cur = cur->next;
}
cur->next = newPtr;
return head;