Question: Write a C program to do the following: ( 1 ) Create a function CREATE ( n ) to create a Singly Linked List (

Write a C program to do the following:
(1)Create a function CREATE(n) to create a Singly Linked List (SL1) with 'n' names as their data values
(ii)Create a function REMOVE(start, count) to ignore the count number of names of SL1 from the start position and the remaining elements be copied to another Singly linked list (SL2
)(iii)Display the names in SL2 Example: Assume that the list SL1 contains 5 names as Sachin , Dhoni , Kohli , Rohit , Bumrah
If REMOVE() function is called with 2 and 3, the SL2 contains the names Sachin, Bumrah

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!