void save FILE * fp int i: if((fp=fopen "c:stu dat",wb==NULL i printf("cannot open fileIn); return; for(i=0; i<SIZE; i++) if(fwrite(&studi], sizeof(struct student type), 1, fp)!=1) printf(" file write errorin"); fclose(tp);void save() { FILE *fp; int i; if((fp=fopen(" c:\\stu_dat","wb"))==NULL) { printf("cannot open file\n"); return; } for(i=0;i<SIZE;i++) if(fwrite(&stud[i],sizeof(struct student_type),1,fp)!=1) printf("file write error\n"); fclose(fp); }