sir....the following code....i used succesfully compiled and got correct answer...i.e insert a number at end position...this is my code
but first time i got wrong because in print fuction in while loop i used "temp->next!=NULL" instead of "temp".....could any one say why did i get wrong...before.