用指针实现:输入几个整数,然后按大小顺序输出
不交换变量的值,交换两个指
#include<stdio.h>
int main()
{int *p1,*p2,*p,a,b; //p1,p2的类型是int *类型
printf("please enter two integer numbers:");
scanf("%d,%d",&a,&b); //输入两个整数
p1=&a;







