EmbLogic's Blog

Program to count the number of nodes in the singly linked list in C

RCS file: countnodes.c,v
Working file: countnodes.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6;    selected revisions: 6
description:
Count the total number of nodes in the linked list.
—————————-
revision 1.6    locked by: root;
date: 2014/01/09 14:29:53;  author: root;  state: Exp;  lines: +3 -1
statement to print the number of nodes in the linked list is added.
Function to count the number of nodes is working successfully.
—————————-
revision 1.5
date: 2014/01/09 14:25:03;  author: root;  state: Exp;  lines: +14 -0
Function to count the number of nodes in the linked list
is implemented checking if it is working fine or not.
—————————-
revision 1.4
date: 2014/01/09 14:18:41;  author: root;  state: Exp;  lines: +1 -0
Header file <stdlib.h> is included to support the malloc() and exit() function,
—————————-
revision 1.3
date: 2014/01/09 14:16:27;  author: root;  state: Exp;  lines: +28 -1
Warning occurs due to the usage of malloc() in the program without using
header file <stdlib.h>.
—————————-
revision 1.2
date: 2014/01/09 14:08:45;  author: root;  state: Exp;  lines: +12 -1
A layout is prepared by making a MAIN MENU to assist the user what type
of operations are available.
—————————-
revision 1.1
date: 2014/01/09 14:07:20;  author: root;  state: Exp;
Initial revision
=============================================================================

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>