Description:
Department of computer engineering has Student's Club named As 'Pinnacle Club'. Students of Second, Third and Final Year of department can be granted membership on request. Similarly, one may cancel the membership of the Club. Here is C++ program to maintain Club Members Information using Singly Linked List. We are creating two separate lists for Division A and Division B. The list contains Student PRN and Name. Here, 'header1' stores address of A division list and 'header2' stores address of B division list. The following functions perform respective operations on list: 1. create() - It creates the initial list in which first node and last represent President and Secretary respectively. 2. count() - It counts the total number of members including President and Secretary in list. 3. add() - It is used to more members in list. 4. del() - It is used to remove any member from list. 5. display() - It simply displays the list i.e from President to Secretary. 6. rdisplay() - It displays list in reverse manner i.e from Secretary to President using Recursion. 7. concatinate() - It can concatinate lists of division A and division B.
0 Comments
Leave a Reply. |
AuthorProf. Ketan Sanjay Desale Archives
April 2020
Categories |