
- Forum
- Programming Talk
- C and C++
- End of File
End of File
This is a discussion on End of File within the C and C++ forums, part of the Programming Talk category; What is the use of feof in C programming language? I want to whether one needs to explicitly check for ...
-
End of File
What is the use of feof in C programming language? I want to whether one needs to explicitly check for end of file in a C programming language.
-
The feof of C programming language is used for testing the end-of-file condition. feof takes one argument -- the FILE pointer -- and returns a nonzero integer value (TRUE) if an attempt has been made to read past the end of a file. It returns zero (FALSE) otherwise.

Reply With Quote





