#include <string.h> // 如果要从数组a复制k个元素到数组b,可以这样做 memcpy(b,a,sizeof(int)*k); 相关文章: 2021-08-29 2021-12-29 2022-02-21 2021-12-19 2022-12-23