#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
void main()
{
FILE *fp;
char ch;
if((fp=fopen("string.txt","rt"))==NULL)
{
printf("Cannot open file strike any key exit!");
getch();
exit(0);
}
ch=fgetc(fp);
while(ch!=fp);
{
putchar(ch);
ch=fgetc(fp);
}
fclose(fp);
}