下面程序的运行结果是______。 void swap(int *a,int *b
题型:填空题
问题:
下面程序的运行结果是______。
void swap(int *a,int *b)
int *tp;
t=a;a=b;b=t;
main()
int x=3,y=5,*p=&x,*q=&y;
swap(p,q);
printf("%d%d\n",*p,*q);
下面程序的运行结果是______。
void swap(int *a,int *b)
int *tp;
t=a;a=b;b=t;
main()
int x=3,y=5,*p=&x,*q=&y;
swap(p,q);
printf("%d%d\n",*p,*q);