Which of the following is TRUE?
- We must call close( ) function explicitly to close a file associated with an fstream object
- Always sequential files are updated without overwriting any data
- Any existing file can be opened for writing only purpose
- Searching all records in a random-access file to locate a record is not necessary
Answer:
Option a: We must call close( ) function explicitly to close a file associated with an
fstream object
Explanation Here
0 Comments