The Full Form of EOF is End-of-file.
In computing, end-of-file is a condition in a computer operating system where no more data can be read from a data source. The data source is usually called a file or stream.
EOF indicates “end of file”. A newline (which is what happens when you press enter) isn’t the end of a file, it’s the end of a line, so a newline doesn’t terminate this loop.
Leave a Reply
You must be logged in to post a comment.