void createLL(Node *&head,int a[],int n){
for(int i=0;i<n;i++){
InsertAtTail(head,a[i]);
}
}
void Print(Node *head)
{
Node *temp = head;
while(temp!=NULL){
cout<data<<" ";
temp = temp->next;
}
}
why are we suppose o use reference operator in insertion of data in linkedlist while not in case of printing it??