编辑器
#include
#include
using namespace std; int main() { char myStr[20] = "Hello"; strncat(myStr, " World!", 6); cout << myStr; return 0; }
Hello World