By default, all the files are opened in ___________mode .
1 Crore+ students have signed up on EduRev. Have you? Download the App |
Which among following is used to open a file in binary mode ?
If we have object from ofstream class, then default mode of opening the file is _____ .
If we have object from fstream class, then what is the default mode of opening the file?
Streams that will be performing both input and output operations must be declared as class
Which among following is correct syntax of closing a file in c++ ?
To perform File I/O operations, we must use _____________ header file.
Which stream class is used to both read and write on files ?
It is not possible to combine two or more file opening mode in open () method.
Due to ios::trunc mode, the file is truncated to zero length.
73 videos|7 docs|23 tests
|