You are viewing a single comment's thread. Return to all comments →
thanks man !! i was trying the similar solution bhoeting's but ' if (!node->prev) return node; ' was not striking to me...
can anyone tell me after completion of program if we run it for the display, how is end of the linked list is handled???
Reverse a doubly linked list
You are viewing a single comment's thread. Return to all comments →
thanks man !! i was trying the similar solution bhoeting's but ' if (!node->prev) return node; ' was not striking to me...
can anyone tell me after completion of program if we run it for the display, how is end of the linked list is handled???