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;
};

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>