EmbLogic's Blog

Program to compare two single linked lists in C language.

RCS file: compare_linked_list.c,v
Working file: compare_linked_list.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9;    selected revisions: 9
description:
Code to demonstrate how to compare the two single linked lists in C.
—————————-
revision 1.9    locked by: root;
date: 2014/02/16 15:35:35;  author: root;  state: Exp;  lines: +5 -1
Status : Program to compare two single linked lists is implemented.
Previously the program was not working because the global variable was updating with number of times display function is called.Bug fixed.
—————————-
revision 1.8
date: 2014/02/16 14:59:51;  author: root;  state: Exp;  lines: +41 -2
compare_two_lists() function is implemented to compare the two created linked lists.
Checking…………
—————————-
revision 1.7
date: 2014/02/16 14:32:32;  author: root;  state: Exp;  lines: +2 -1
logical error fixed.
Issue:flag variable is declared of type struct node instead of int.
—————————-
revision 1.6
date: 2014/02/16 14:29:59;  author: root;  state: Exp;  lines: +17 -0
Functions to display both the linked list are implemented.
Checking….
—————————-
revision 1.5
date: 2014/02/16 14:24:03;  author: root;  state: Exp;  lines: +6 -2
Prototypes of the display functions are declared.
—————————-
revision 1.4
date: 2014/02/16 14:18:43;  author: root;  state: Exp;  lines: +33 -2
create_list1() and create_list2() functions are implemented.
Developing the display functions.
—————————-
revision 1.3
date: 2014/02/16 00:54:39;  author: root;  state: Exp;  lines: +64 -11
Inside the program create_node() function is implemented to create a node.
—————————-
revision 1.2
date: 2014/02/16 00:31:44;  author: root;  state: Exp;  lines: +30 -0
Header file:<stdlib.h> is included to support exit() function.
—————————-
revision 1.1
date: 2014/02/16 00:27:09;  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>