Insert a new node at the middle in a double link list.
Expected Output :
Input the number of nodes (3 or more) : 3
Input data for node 1 : 2
Input data for node 2 : 4
Input data for node 3 : 5
Data entered in the list are :
node 1 : 2
node 2 : 4
node 3 : 5
Input the position (2 to 2) to insert a new node : 2
Input data for the position 2 : 3
After insertion the new list are :
node 1 : 2
node 2 : 3
node 3 : 4
node 4 : 5
=================================================
• C Programming - Linked List
Website : http://www.jlabstech.com
Like us on Facebook : / jlabstechnology
Follow on Twitter : / _jlabs_