for(i=0;i<10;i++)\rscanf("%d",p++);\rfor(i=0;i<10;i++,p++)\rprintf("%d",*p);\rprintf("\n");\rreturn0;\r)\r151. N¡¢10?x,?´¥Þ_CBC\r#include<stdio.h>\rintmain()\r(\rvoidsort(intn);\rinti,*p,a[10J;\rP=a;\rprintf("pleaseenter10integernumbers:");\rfor(i=0;i<10;i++)scanf("%d",p++);\rP=a;\rsort(p,10);\rfor(p=a,i=0;i<10;i++){\rprintf("%d",*p);\rP++P\r)\rprintf("\n");\rreturn0;\rvoidsort(intx[],intn){\rinti,j,k,tP\rfor(i=0;i<n-1;i++){\rk=i;\rfor(j=i+1;j<n;j++)EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rif(x[j]>x[k])k=j;\rif(k!=i){\rt=x[i];\rx[i]=x[k];\rx[k]=t;\r)\r152.S=l!+2!+...+n!\r#include<stdio.h>\rintfun(intn)\rif(n==0)\rreturn1;\relsereturnn*fun(n-l);\rvoidmain()\rintn,sum=0;\rprintf("inputn:");\rscanf("%d",&n);\rfor(inti=lPi<=n;i++)\rsum+=fun(i);\rprintf("sum=%d\n",sum);