C語言數值的交換及其棧空間的解釋

程序如下 #include<stdio.h> void exchange(int a, int b){ int tmp; tmp = a; a = b; b = tmp; } void dealChange(int *a, int *b){ int tmp; tmp = *a; *a = *b; *b = tmp; } int main(){ int a = 2; int b = 3; excha
相關文章
相關標籤/搜索