write a c function to create doubly linked list
Answers
Answered by
0
Explanation:
Define another class for creating a doubly linked list, and it has two nodes: head and tail. Initially, head and tail will point to null.
...
Algorithm
Define a new node 'current' that will point to the head.
Print current. data till current points to null.
Current will point to the next node in the list in each iteration.
Similar questions