Question: C++ write a member function PrintReverse that prints the elements on list in reverse order. For instance, for the list x y z, list. PrintReverse()
C++
write a member function PrintReverse that prints the elements on list in reverse order. For instance, for the list x y z, list. PrintReverse() would output zyx. The list is implemented as a circular list, with listdata pointing to the first element in the list. You may assume that the list is not empty.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
