#include <iostream>
using namespace std;
const char *strapp(const char *str, const char *s)
{
string ret="";
ret+=str;
ret+=s;
return ret.c_str();
}
//Note, there is a memory leak in this code
int main() {
cout<<strapp("Hello ","World!")<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpjb25zdCBjaGFyICpzdHJhcHAoY29uc3QgY2hhciAqc3RyLCBjb25zdCBjaGFyICpzKQp7CnN0cmluZyByZXQ9IiI7CnJldCs9c3RyOwpyZXQrPXM7CnJldHVybiByZXQuY19zdHIoKTsKfQovL05vdGUsIHRoZXJlIGlzIGEgbWVtb3J5IGxlYWsgaW4gdGhpcyBjb2RlCmludCBtYWluKCkgewoJY291dDw8c3RyYXBwKCJIZWxsbyAiLCJXb3JsZCEiKTw8ZW5kbDsKCXJldHVybiAwOwp9