指针起泡法排序 #include <stdio.h> #define N 10 void sort(int *p, int n) { int i, j; int temp; int *q; q=p; //用来记录指针的初始位置 for(j=0;j<n;j++) { p