class node{
public :
int data ;
node *next;
node(int d){
data = d;
next = NULL;
}
};
void insertathead(node*&head ,int d){
if(head == NULL){
head = new node(d); //****
return;
}
node*n = new node(d);
n->next = head ;
head = n ;
}
how the value is assigned in the star marked code? is constructor being called?