Hello friends,
I want ur help regarding singly linked list in C,I tried in net,But it is confusing and difficult.I want singly linked list in a simple way of Understanding.Please Help Me
I want single list to create,delete,D isplay
Can u give me Program and Explanation,to create,display, Delete in a Simple and Easy Way.Really it will be Helpful for Me.
I have given some partial code,I want Program to create,display, Delete a Singly linked list....
It will be really Helpful...Pl Help Me........
Thanks in Advance.
I want ur help regarding singly linked list in C,I tried in net,But it is confusing and difficult.I want singly linked list in a simple way of Understanding.Please Help Me
I want single list to create,delete,D isplay
Can u give me Program and Explanation,to create,display, Delete in a Simple and Easy Way.Really it will be Helpful for Me.
I have given some partial code,I want Program to create,display, Delete a Singly linked list....
Code:
#include<stdio.h>
void create();
void diaplay();
void delete();
struct node
{
int data;
struct node *next;
}
void main()
{
do
{
int a;
Printf("Choose Option\n");
Printf("1.Create\n");
printf("2.Display\n");
printf("3.Delete\n");
printf("Enter the Option")
scanf("%d",&a);
switch(a)
{
case 1:
create();
case 2:
display();
case 3:
delete();
default:
printf("Thank U");
}
}while(a>3);
void create()
{
//Can u give program and Explanation in a Simple Way
}
void display()
{
//Can u give program and Explanation in a Simple Way
}
void delete()
{
//Can u give program and Explanation in a Simple Way
}
getch();
}
Thanks in Advance.
Comment