#include#includemain(){ int i; char str1[12]="abcdu",str2[12]="xyzpyp"; strcpy(str1,str2,3); puts(str1);}
strcpy函数只有前面两个参数,那个3的参数没有。strncpy就有第三个参数