By admin | January 25, 2008

Nodes in Linked List

  This is a preliminary lesson for the learners of C. The objective is the acquaitance with the structure of a linked listEssentially the structure of any linked list contains two parts, the data part and the pointer part. The first 4 items in the structure indicate the data part, whereas the last one indicates the pointer part.
 
 
These are called nodes in Linked List
 
 
struct invoice{
char itemno[5];
char itemdesc[30];
float rate;
int qty;
struct invoice *next;
};

Digg Facebook Technorati Bloglines

Email This Post Email This Post
Topics: Languages |



Leave a Comment

Name:

E-Mail :

Website :

Comments :

Ad

Calendar

January 2009
M T W T F S S
« Oct «-»  
 1234
567891011
12131415161718
19202122232425
262728293031  

Search

Polls

  • Who will rule the world?

    View Results

    Loading ... Loading ...