EmbLogic's Blog

Reversing a Linked list using four pointers in C Language

RCS file: reverse_linked_list.c,v
Working file: reverse_linked_list.c
head: 1.16
branch:
locks: strict
root: 1.16
access list:
symbolic names:
keyword substitution: kv
total revisions: 16;    selected revisions: 16
description:
Program for reverse of a linked list in C language.
—————————-
revision 1.16    locked by: root;
date: 2014/01/09 13:20:36;  author: root;  state: Exp;  lines: +1 -1
Program working absolutely correctly.
Appropriate comments are included in the program.
—————————-
revision 1.15
date: 2014/01/09 13:16:29;  author: root;  state: Exp;  lines: +3 -3
Bug fixed:Checking the output of the program.
—————————-
revision 1.14
date: 2014/01/09 13:15:06;  author: root;  state: Exp;  lines: +19 -1
Declaration error in the reverse_list() function.
Checking…..
—————————-
revision 1.13
date: 2014/01/07 23:27:25;  author: root;  state: Exp;  lines: +1 -1
Logical error is fixed.
—————————-
revision 1.12
date: 2014/01/07 23:25:19;  author: root;  state: Exp;  lines: +10 -2
Display function is declared and defined in the program.
Logical error:display function is not working properly.
—————————-
revision 1.11
date: 2014/01/07 23:14:43;  author: root;  state: Exp;  lines: +5 -0
Problem fixed by adding message in the else part of the case 1 in switch.
—————————-
revision 1.10
date: 2014/01/07 23:09:56;  author: root;  state: Exp;  lines: +2 -0
Both the logical and the syntax error are debugged.
Issue:loop is not included and missing parenthesis.
Another problem if the user is entering case 1 the next time it is not displaying the
message to the user that the linked list is already created.
—————————-
revision 1.9
date: 2014/01/07 23:08:21;  author: root;  state: Exp;  lines: +35 -33
Syntax error occurred in the program checking.
—————————-
revision 1.8
date: 2014/01/07 23:05:40;  author: root;  state: Exp;  lines: +2 -1
Logical error:Program is exiting after a choice is entered and the menu is not
displayed to the user the next time.
Checking…………..
—————————-
revision 1.7
date: 2014/01/07 23:02:24;  author: root;  state: Exp;  lines: +1 -1
Appropriate message is included in the program when the linked list
is created successfully.
—————————-
revision 1.6
date: 2014/01/07 23:00:51;  author: root;  state: Exp;  lines: +1 -0
Prototype of the insert_value() function is added in the program.
—————————-
revision 1.5
date: 2014/01/07 22:59:14;  author: root;  state: Exp;  lines: +8 -1
insert_value() function is created successfully created so that the
user can insert its own number in the linked list.
—————————-
revision 1.4
date: 2014/01/07 22:55:42;  author: root;  state: Exp;  lines: +5 -1
Linked list is created successfully with a single node.
create_node function is declared and defined.
—————————-
revision 1.3
date: 2014/01/07 22:52:03;  author: root;  state: Exp;  lines: +12 -0
Header file:<stdlib.h> is included in the C program to support exit() and malloc() function.
—————————-
revision 1.2
date: 2014/01/07 22:42:20;  author: root;  state: Exp;  lines: +29 -2
Layout is prepared for the user with the help of which
the user can choose the appropriate operation.
—————————-
revision 1.1
date: 2014/01/07 22:34:48;  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>