Question: Write a recursive function in C++ that takes as an input parameter a string and returns the reverse of that string. (you will need other
Write a recursive function in C++ that takes as an input parameter a string and returns the reverse of that string. (you will need other input parameters) So, for instance, if the input string was amri, the function should return Irma. As with all the functions you write, make sure you have a function declaration above the main function, make sure you comment the function (including, given a particular input, the expected output), and make sure you call the function with 3 different test cases from your main.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
