找不到错误啊!!大虾帮忙!
#include<stdio.h> swap(p1,p2) int *p1,*p2; {int *p; p=p1; p1=p2; p2=p; }
main() { int a,b; int *pointer_1,*pointer_2; scanf("%d,%d",&a,&b); pointer_1=&a; pointer_2=&b; if(a<b) swap(pointer_1,pointer_2); printf("%d,%d",*pointer_1,*pointer_2);
}