Question: In C++ please Write a function that gets passed a string name that contains a first name space last name. The function will covert the
In C++ please 
Write a function that gets passed a string name that contains a first name space last name. The function will covert the name to last name, first name and return the new string. For example: If the function is sent George Smith, the function would return Smith, George. If the function is sent Mary Washington, it would return Washington, Mary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
