feof()
The feof() function checks if the end of a file has been reached. This is useful for reading files in a loop.