rint a[10]={ 1,3,5,7,924,6,8,0};\rint b[10]={ 11,13,15,17,19,12,14,16,18,20);\rint i;\rfor(i=0;i< 10;i++) swap(&a[i ] ,&b[i ]);.\rfor(i=0;i<l0;i++) printf(na[%d]=%2d M,i,a[i]);\rprintf(n\nn);\rfor(i=0;i<10;i++) printf(Mb[%d]=%2d u,i,b[i]);\rprintf("\nn);\r18. 0@PC `p?12"Mz{|u\n@}~6?34?0~
t(S0~,\rE?;@P|“test”4\r#include <stdio.h>\rmain() {\rFILE *fp;\rchar str[ 100],filename [15];\rint i;\rif((fp=fopen(,,test",,,w',))==NULL) {\rprintf(''Cannot open the file.\nH);\rexit(O);\r)\rprintf('Input a string:");\rgets(str);\rfor(i=0;str[i]&&i<100;i++) {\rif(str[i]>=,a,&&str[i]<=,z,) str[i]-=,a'-,A';\rfputc(str[i],fp);\r)\rfclose(fp);\rfp=fopen( "test", Mr");\rfgets(str,IOO,fp);\rprintf(n%s\nn,str);\rfclose(fp);