測試4 : 利用指標傳址呼叫交換兩個變數之數值 #include <stdio.h> void swap(int *x,int *y) { //函數的參數為指標(不需傳回值) int tmp=*x;
確定! 回上一頁