hi
i m a new member. i have a question. so plz answer me if any one have the answer.

how can i delete a node without traversing the linkedlist. let's say want to delete the third node of the linkedlist without traversing it.

thank u

not possible unless you already have a pointer to it because your program does not know the address of the node and because you also have to remove it from the linked list before deleting it.

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.