标签:元素
//数组拷贝
int a[5] = {37,25,18,-2,78};
int b[5] = {0};
for (int i = 0; i < 5; i++) {
b[i] = a[i];
printf("%d ",b[i]);
}
本文出自 “久久归一” 博客,请务必保留此出处http://lulun426.blog.51cto.com/9197884/1538401
将一个一维数组的元素赋值给另外一个一维数组中,布布扣,bubuko.com
标签:元素
原文地址:http://lulun426.blog.51cto.com/9197884/1538401