#include FILE *ofp,*ifp; char c; char pagebuffer[256], wordbuffer[256]; /* page buffer is for entire page to be written, wordbuffer: contiguous alphanum */ main() { ofp=fopen("tmp.txt","w"); fprintf(ofp,"Hello, World"); fclose(ofp); ifp=fopen("tmp2.txt","r"); c=fgetc(ifp); fclose(ifp); printf(" The character read was %c ",c); fcloseall(); /* safety stopper */ return(1); }