Answer
Yes the program will throw a runtime error.
Work Step by Step
If we call read or readline at the end of a file the compiler will try to read data from there but since this is the end of the file it will not be able to read data and will give a runtime error.