How do you reverse the nodes in a singly linked list?
Here is the struct and a definition of a function i was working on.
// ptr, passed from main, points to the first node in the linked list...
Type: Posts; User: gkev
How do you reverse the nodes in a singly linked list?
Here is the struct and a definition of a function i was working on.
// ptr, passed from main, points to the first node in the linked list...