Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Experience the ease of finding reliable answers to your questions from a vast community of knowledgeable experts. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

Implement the following global function using a recursive algorithm to reverse the contents of a string passed in by reference. void flipString(string &s); You may not use a loop of any kind. You may not use global or static variables. You may not use the word reverse anywhere within your main.cpp file. If any of these are found within your main.cpp file, you will receive a 0 on this lab. Use the following main() function to test your reverse function: (Note: if you have to change this main function to get the output tests to work, then the unit tests will most likely not work.) int main() { string line; cout << "Enter a sentence:" << endl; getline(cin, line); cout << endl; cout << line << endl; flipString(line); cout << line << endl; return 0; }