Horje
delete a head node in link list Code Example
delete a head node in link list
void deleteNode(Node *head)
{
    Node* temp=head;
    if(head!=NULL)
    {
        head=head->next;
        delete temp;
    }
}




Cpp

Related
c++ print hello world Code Example c++ print hello world Code Example
vbs check if file exists Code Example vbs check if file exists Code Example
fork c Code Example fork c Code Example
change to lowercase in notepad++ Code Example change to lowercase in notepad++ Code Example
c++ inline in .cpp and not in header Code Example c++ inline in .cpp and not in header Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10