#linked list node deletion query

21 messages · Page 1 of 1 (latest)

finite vine
#

What does node*next=temp->next->next;

versed thistleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

finite vine
#

Here is link

#

Also a photo

#

Won't there be collision of next

#

Won't the compiler get confused between next (data member) of class and next node

lethal laurel
finite vine
#

I understood the concept of pointers

#

But i want to know if there would be collision or no

finite vine
lethal laurel
finite vine
lethal laurel
finite vine
#

So in place of next i can create some other node too as well right?

#

Just different name for the variable instead of next

lethal laurel
#

yes

versed thistleBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.