r(i=0;(ch=fgetc(fp))!=EOF;i++)\r{c[i]=ch;\rputchar(c[i]);\r)\rfclose(fp);\rni=i;\rif((fp=fopen( nB 0, ,,r',))==NULL)\r{printf(Mfile B cannot be opened\n")\rexit(0);}\rprintf(H\n B contents are :\nH);\rfor(i=0;(ch=fgetc(fp))!=EOF;i++)\r{c[i]=ch;\rputchar(c[i]);\r)\rfclose(fp);\rn=i;\rfbr(i=0;i<n;i++)\rfbr(j=i+l;j<n;j++).\rif(c[i]>c|j])\r{t=c[i];c[i]=c[j];c|j]=t;}\rprintf(M\n C file is:\n");\rfptfopen("C”J w )\rfor(i=O;i<n;i++)\r{ putc(c[i],fp);\rputchar(c[i]);\r)\rfclose(fp);\r)\r 100ý\r^g!"#0«!"#^3 þÿ 0@P`p?\n(??00 ),\r 0 !??"#?$%&'`()“stud”+,\r1 ./0#12\r2 ./03452\r#include "stdio.h"\rstruct student\r{ char num[6];\rchar name[8];\rint score[3J;\rfloat avr;\r} stu [5];\rmain()\r{int i,j,sum;