How to initialise a sorted list and after inserting any node the resultant list also becomes sorted.Pls help.I need it urgently.

How to do your own work before it becomes urgent? Well, clearly you don't know the answer to that one. :icon_rolleyes:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.