Exclua um nó de cabeça na lista de links
void deleteNode(Node *head)
{
Node* temp=head;
if(head!=NULL)
{
head=head->next;
delete temp;
}
}
Tarique