Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

insterting a node at any position

0 votes
asked Mar 27, 2018 by Nanni 99 (120 points)

1 Answer

0 votes
answered Mar 27, 2018 by MaHi
yes you add node anywhere in linked list
a -> b -> c-> d ->e->null
consider x as new node
we would like to add before b
a->b.....
x->b.....
now make a link between a & x 
a->x->b->c->d->e->null
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...