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));...
readability="5.7721518987342">
asked
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