Question: Given the declarations below, using the substr function, write the statements to assign First to the name1 variable and Last to the name2 variable. string
Given the declarations below, using the substr function, write the statements to assign First to the name1 variable and Last to the name2 variable.
string name = First Last; // note the space between First and Last
string name1 = ;
string name2 = ;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
