}int main(){int a[3][4] = {5,1,54,6,22,12,44,32,34,5,2,1};//定义的原始数组,可以看到是乱序的。int i,j;qsort(a[1], 4, sizeof(int), cmp);//以下代码输出数组元素值,以验证排序结果。for(i = 0; i < 3; i ++){for(j = 0; j < 4; j ++)printf("%3d...
int b,h,e,f,c,d,g;void check(int a[]){ for(int i=0;i<5;i++) { printf("%d\t",a[i]); } printf("\n");}void rort(int a[]){ for(int i=0;i<4;i++) { for(int j=0;j<4-i;j++) { if(a[j]>a[j+1]) { b=a[j]; a[j]=a[j+1]; a[j+1]=b; } }...