Write a member function called reverseit() that reverses a string ( an array of character). Use a for loop that swaps the first and last characters, then the second and next-to last characters and so on. The string should be passed to reverseit() as an argument.
This answer is restricted. Please login to view the answer of this question.Login Now
Click here to submit your answer.