Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
CPP 2
« Previous
Next »
How do we check if the file has reached its end?
Options
- Use if_file_end()
- use end_of_file()
- use eof()
- both a and c
CORRECT ANSWER : use eof()
Discussion Board
c++
l appreciate
MTENJI DABULO 02-24-2023 09:40 AM
C++
Your test structure is very good . I''m incredibly glad for this ,Thank you
Azim 03-5-2022 04:36 AM
C++ - EOF()
eof() (end-of-file) function is used to check if the file has reached its end. Always test for the end-of-file condition before processing data read from an input file stream.
Prajakta Pandit 01-25-2017 02:03 AM
REsults
Good
surendra 04-17-2015 12:59 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
C test (42)
C (12)
C++ for beginners (10)
C++ (20)
C++ (24)
C++ (18)
C++ (14)
C++ (12)
C++ (15)
C++ (15)
Data structure (20)
Data structure (10)
Data structure (10)
Data structure (10)
PERL (25)
VC++ (11)
Oops (30)
Mainframe (41)
Mainframe (15)
Embedded systems (15)
OOAD (49)
Advertisement
▲