Report question

Question: How to find EOF while reading from a file