Question Detail
Which among following is used to open a file in binary mode ?
- ios:app
- ios::out
- ios::in
- ios::binary
Answer: Option D
Explanation:
ios:app -> All output operations are performed at the end of the file, appending the content to the current content of the file.
ios::out -> Open for output operations.
ios::in -> Open for input operations.