how string concatenation works internally in c++ code example
Example: c++ string concatenation
string first_name = "foo"
string last_name = "bar"
std::cout << first_name + " " + last_name << std::endl;
string first_name = "foo"
string last_name = "bar"
std::cout << first_name + " " + last_name << std::endl;