Q. Choose a correct statement about C file operation program?
Code:int main()
{
FILE *fp;
char ch;
fp=fopen("readme.txt","r");
while((ch=fgetc(fp)) != EOF)
{
printf("%c",ch);
}
}
β
Correct Answer: (D)
All the above