研:指针就是存有别的变量地址的变量

  #include "stdio.h" #include <iostream> using namespace std; void swap(int *a,int *b) { printf("--------------------------\n before swap: a:%d, b:%d \n",*a,*b); int temp; temp=*a; *a=*b; *b=tem
相关文章
相关标签/搜索