×
×
Correct!
Use the correct operator to concatenate two strings:
string firstName = "John ";
string lastName = "Doe";
cout << firstName @(1) lastName;
string firstName = "John ";
string lastName = "Doe";
cout << firstName + lastName;
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?