open_in_new
content_copy
void insertAtHead(node *&head, int d) { node *temp = new node(d); temp->next = head; head = temp; }