赞
踩
int main(int argc, const char *argv[])
{
char arr[] = "hello";
char brr[] = "word";
int i;
for(i=0;brr[i]!='\0';i++)
{
arr[i]=brr[i];
}
arr[i]=brr[i];
printf("arr = { %s }\n",arr);
return 0;
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。