#include#include void myqsort(int *a,int low,int high) { int i,j; int c; c=a[low]; i=low; j=high; while(i =c && i low) myqsort(a,low,i-1); if(high>i+1) myqsort(a,i+1,high); } int main() { int a[30],i; for(i=0;i<20;i++) a[i]=rand()%50; for(i=0;i<20;i++) printf("%d ",a[i]); printf("\n"); myqsort(a,0,20); for(i=0;i<20;i++) printf("%d ",a[i]); printf("\n"); }