4-3平常

1.将数组A中的内容和数组B中的内容进行交换。(数组同样大) 法1:不创建函数 #include<stdio.h> #include<stdlib.h> int main1(){ int a[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int b[10] = { 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 }; int i,
相关文章
相关标签/搜索