Consider the following struct for a doubly linked list.
Implement the function
that reverses in-place the given list, without dynamic memory allocations, and returns a pointer to its new head.
Observation You only need to submit the required classes; your main program will be ignored. Strictly obey the type definitions of the statement.