將數組A中的內容與B數組內容進行交換(數組一樣大)

#include<stdio.h> #include<stdlib.h> int main() { int a[] = { 1,3,5,7,9 }; int b[] = { 2,4,6,8,10 }; int i = 0; printf("數組a爲:%d %d %d %d %d\n", a[0], a[1], a[2], a[3], a[4]); printf("數組b爲:%d %d
相關文章
相關標籤/搜索