#include <stdio.h>
#include <string.h>
main()
{char a, str[80]="The quick brown fox jumps over a lazy dog."
FILE*fp;
int i=0;
if((fp=fopen("e: (labc. txt","w+"))==NULL
{printf("Cannot open the file!\n"); exit(0);}
while(str[i]) { putc(str[i],fp);i++;)
putc(OxFF,fp);
rewind(fp);
a=getc(fp);
while(a!=EOF) {putchar(a);a=getc(fp);}
putchar(’\n’);
fclose(fp);
system("pause") ;
}