Question: Given the declarations below, using the erase function, write the statements to remove all of the characters from the name string, except for Last. string
Given the declarations below, using the erase function, write the statements to remove all of the characters from the name string, except for Last. string name = First Last; // note the space between First and Last
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
