c語言數組拷貝

#include <string.h>
// 若是要從數組a複製k個元素到數組b,能夠這樣作

memcpy(b,a,sizeof(int)*k);
相關文章
相關標籤/搜索