ndom(100);\rfor(i=0µi<Nµi++)printf("%d",m[i]);\rprintsã")µ\rarrsort(m,N);\rprinä"ARerSorted:\n");\rfor(i=0;i<N;i++)printf("%d",m[i]);\rprint^"\n");\r}\rvoidarrsort(inta[],intn)\r{int\rfor(i=0;i<n-l;i++)\r{\rfor(j=i+la<nj++)\rifl/a[j]<a[i]){t=a[i];a[i]=a[j];a[j]=t;}\r}\r}\r(2)å²Á?Þ(ßàáâ)/(Çæ(2)-(4)çèémainê)\rvoidarrsort(inta[],intn)\r{int\rfor(i=0µi<n-l;i++)\r(Hµ\rfor(j=i+lµj<n;j++)\rif(a[p]>a[j])p=j;\ri*p!=i)\r{t=a[i]µa[i]=a[p];a[p]=tµ}\r}\r)\r(3)ëìÞ(ßàáâ):\rvoidarrsort(inta[],intn)\r{intij,p,t;\rfor(i=n-l;i>0;i-)\r{for(j=0;j<i;j44-)\rif(a[j+l]<a[j]){t=a[j];a[j]=a[j+l];a|j+l]=t;}\r}\r)\r(4)íîÞ(ßàáâ)/\rvoidarrsort(inta[],intn)\r{intij,tµ\rfbr(i=l;i<n;i++)\r{t=a[i]µEvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rfbr(j=i-la>=Oy-)\ri<Ka[j])a[j+l]=a[j];\relsebreak;\ra[j+l]=t;