You are viewing a single comment's thread. Return to all comments →
my program is the same as yours except the first part of the code where mine says
Node *temp; //did not use Node*temp=new Node temp->data=data; temp->next=NULL;
This is causing error in my code.. Can you please explain?
Seems like cookies are disabled on this browser, please enable them to open this website
Insert a Node at the Tail of a Linked List
You are viewing a single comment's thread. Return to all comments →
my program is the same as yours except the first part of the code where mine says
This is causing error in my code.. Can you please explain?