i=0;(ch=fgetc(fp))!=EOF;i++)\r{clij=ch;\rputchar(c[i]);\r}\rfclose(fp);\rni=i;\rif((fp=fopen(,'B',,,,r,,))==NULL)\r{printf("file B cannot be opened\nK);\rexit(O);)\rprintf(n\n B contents are :\nM);\rfor(i=0;(ch=fgetc(fp))!=EOF;i++)\r{c[i]=ch;\rputchar(c[i]);\rfclose(fp);.\rn=i;\rfor(i=0;i<n;i++)\rfor(j=i+l;j<n;j++)\rif(c[i]>c[j])\r{t=c[i];c[i]=c|j];c[j]=t;}\rprintf(n\n C file is:\n");\rfp=fopenC'C","wn);\rfor(i=0;i<n;i++)\r{ putc(c[i],fp);\rputchar(c[ij);\r)\rfclose(fp);\r\r? 100]\rl~'p'l3 FapHIJKLiU#
(pp?a),\r=>DaplF#
0=>DF?#hoTJef“stud”B\r1 .\r??\r2 .\r?\r#include "stdio.h1'\rstruct student\r{ char num[6J;\rchar name[8];\rint score[3J;\rfloat avr;\r} stu[5];\rmain()\r{int i,j,sum;