Suppose you are given a list of students registered in a course and you are required to implement an Linked List of student. Each student in the list has name, regNo and cGpa. You task is to implement following function related to Linked List.
insertStudent() : This function, when called will prompt user to enter his/her choice of insertion. The options are
- 1. Insert student at the start of linked list
- 2. Insert student at the end of linked list
- 3. Insert student before the student who name is entered
Answer to : Question 140868