1 2 3 4 5 6 7 8 9 10 11
#include <iostream> using namespace std; int main() { string str1 = "The laboratory", str2 = "work", str3 = "№6", str4; str4 = str1 + " " + str2 + " " + str3; cout << "Result of merge str1, str2 and str3:" << endl << str4; return 0; }