how end of file works i
i mean to ask how is control shifted in it
End of file working
@Bhavit_Singla C++ provides a special function, eof( ), that returns nonzero (meaning TRUE) when there are no more data to be read from an input file stream, and zero (meaning FALSE) otherwise.