1. strcat 拼接 【注意:拼接后的字符串长度不能超过字符串申请的内存空间长度,不然会报错】char s1[30] = {'L', 'm', 'j', '\0', 'L', 'o', 'v', 'e', '\0'}; strcat(s1, "OC"); printf("%s", s1);