两个 char 字符串指针如何复制 字符串内容char *src ykc办公室; char *dst; dst malloc(strlen(src) 1); if (dst ! NULL) { strcpy(dst, src); } // 用完后必须释放 free(dst);