Why does this output "hello wor world!"?
string str("hello", 10); str += " world!"; cout << str << endl;