Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Beginner
Jul 19, 2001

Understanding Linked Lists


A linked list is a dynamically created area where data can be stored. It contains certain algorithms for collecting data (alphabetically, numerically, etc.). This is like an array but an array is of a specific (fixed) amount and a linked list creates memory as it goes. A linked list consists of substructures, called nodes, that contain the data itself, and the pointer to the next node in the list. In a singly linked list, the first node only knows the address of the second node, and the second node only knows the address of the third node. This makes each node responsible for their area of data and the alternative, when data does not submit according to its rules of collection. Usually, the tail node is linked to a null pointer to confirm and define the end of the list.
Sophy Pal
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date