About the eof used

what is the eof here?? and why it is used

@ankit2705ojha
EOF is End OF File.
It used so that when there is no input left to be taken, then our while loop will stop.