#include <stdio.h>
int main()
{
FILE *fp;
int ch;
fp = fopen("document_to_5", "w");
fputs("Help poor children in the World!", fp);
fclose(fp);
fp = fopen("document_to_5", "r");
while ((ch = getc(fp)) != EOF)
putc(ch, stdout);
fclose(fp);
return 0;
}[code:1]
#include <stdio.h>
int main()
{
FILE *fp;
int ch;
fp = fopen("document_to_5", "w");
fputs("Help poor children in the World!\n", fp);
fclose(fp);
fp = fopen("document_to_5", "r");