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
This is causing error in my code.. Can you please explain?