c语言数组互换,【C语言】交换两个数组内容(数组等大)
1.加法,异或实现#includeintmain(){inta[10],b[10];inti=0;printf("请输入数组a:\n");for(i=0;iscanf("%d",&a[i]);printf("请输入数组b:\n");for(i=0;iscanf("%d",&b[i]);for(i=0;i{a[i]=a[i]+b[i];b[i]=a[i]-b[i];a...