linked list.

Revision en3, by vsanjay_nitdgp, 2015-08-11 07:55:30

sir....the following code....i used succesfully compiled and got correct answer...i.e insert a number at end position...this is my code

http://ideone.com/DxFaPU

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.

Tags data structures

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English vsanjay_nitdgp 2015-08-11 07:55:30 2 Tiny change: 'y why did u get wrong' -> 'y why did i get wrong'
en2 English vsanjay_nitdgp 2015-08-11 07:54:48 713
en1 English vsanjay_nitdgp 2015-08-11 07:53:55 1037 Initial revision (published)