By using linked list, Write a complete C program that accepts few integers, traverses it, and returns the data in the linked list that has the smallest value. Then, write a function to reverse the data that already exists in the linked list.
The Createlist(), NewNode(), InsertNode() and TraverseList() functions that you may use in your solution are elaborated in the module.
Sample output:
Enter integers: 23 12 34 56 78 12
Traversing the list : 23->12->34->56>78->12
Minimum value : 12
Reversing the list: 12->78->56->34->12->23
Comments
Leave a comment