题目内容
运行以下程序,若输入:8 9<回车>时,写出程序的输出结果。#includevoid f1(int *p1, int *p2){ int t;t=*p1; *p1=*p2; *p2=t;}void f2(int x,int y){ int t;t=x; x=y; y=t;}void main(){ int x,y;int *p1,*p2;scanf("%d%d",&x,&y);p1=&x;p2=&y;if(xy)f2(x,y);printf("x=%d,y=%d",x,y);}
查看答案
搜索结果不匹配?点我反馈