In the program of adding a node at the head of a linked list : https://onlinegdb.com/rJQkb_czO
In line 17 it is written void insert(Node*&head, int d)
Why is Node*&head written and not Node*head? Please help
In the program of adding a node at the head of a linked list : https://onlinegdb.com/rJQkb_czO
In line 17 it is written void insert(Node*&head, int d)
Why is Node*&head written and not Node*head? Please help