0
1.3kviews
Write a program to implement Single Linked List.Provide the following operations (i) Insert a node at the specified location (ii) Delete a node from end (iii) display the list
1 Answer
0
18views
# include <stdio.h>
# include <conio.h>
# include <stdlib.h>
typedef struct node
{
        int data;
        struct node* next;
}node;

node* create(int);
void print(node*);
int count(node*);
node* insertB(node*,int);
node* insertM(node*,int);
node* insertE(node*,int);
node* del(node*);
void main()
{
    node *HEAD;
    int n,number,ch,value;
    clrscr();
    printf("\n Enter no. of Item");
    scanf("%d",&n);

    HEAD=create(n);

    do
    { …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.