MENU DRIVEN PROGRAM FOR SINGLE LINKED LIST OPERATIONS
1.CREATE
2.DISPLAY
3.INSERT AT BEGINNING
4.INSERT AT END
5.INSERT AT SPECIFIED POSITION
6.DELETE FROM BEGINNING
7.DELETE FROM END
8.DELETE FROM SPECIFIED POSITION
9.EXIT

 

You may also like...

  • Mallikharjuna Rao

    Thanks for code. It really helps.
    But in this code delete_begin() is not working when executing
    void delete_begin()
    {
    struct node *ptr;
    if(ptr==NULL) change it to // if(start == NULL) then its working
    {
    printf(“nList is Empty:n”);
    return;
    }

  • Sumit Singh

    In the line 206 at the place of ” if(ptr==NULL) ” , i thing it is ” if(start==NULL) ”
    thanku for the code…it really helps me….

  • ashray a

    awesome code dude can u provide a validation which will enter a node at last position when using insert_pos but not after that?? Thanks in advance

  • puretruth,truelegends

    best code available online! Thank you.

  • Avik Sarkar

    Thanks for the code. Its really helped me.