Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp  Sitemap  Contact Us  RegisterRegister  LoginLogin
Data Sturctures FAQS -III(Theory)
 GenProgrammers : Data Structures : Data Sturctures FAQS -III(Theory)
How do you append a node onto a linked list?
Author Message
abhi
Admin Group
Admin Group


Joined: 18 Nov 2007
Location: United States
Online Status: Offline
Posts: 1283
Use the back pointer to get a reference to the last node on the linked list. Change the value of the next pointer in the back node to the address of the new node. Set the previous pointer of the new node to the current back node. Change the back pointer to the address of the new node.


Quote abhi Reply






bullet     Posted: 01 Dec 2007 at 6:43pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Select Category
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.094 seconds.