href="https://stackoverflow.com/questions/15859041/how-does-c-handle-eof"
class="question-hyperlink">How does C handle EOF?
[duplicate]
#include
int main()
{
FILE*
f=fopen("book2.txt","r");
char a[200];
while(!feof(f))
{
fscanf(f,"%s",a);
printf("%s ",a);
printf("%d\n",ftell(f));...
class="started fr">
readability="5.7721518987342">
asked title="2013-04-07 05:01:09Z" class="relativetime">Apr 7 '13 at
5:01
class="user-gravatar32">
href="https://stackoverflow.com/users/1834467/joy"> class="gravatar-wrapper-32"> src="https://i.stack.imgur.com/YCMCS.png?s=32&g=1" alt width="32" height="32"
class="bar-sm">
No comments:
Post a Comment