Question Detail Which is among following is used to Open a file for output and move the read/write control to the end of the file ? ios::ateios::atios::annios::end Answer: Option A Similar Questions : 1. Which stream class is used to both read and write on files ? ofstreamifstreamfstreamiostream Answer: Option C 2. Which among following is correct syntax of closing a file in c++ ? myfile$close();myfile@close();myfile:close();myfile.close(); Answer: Option D 3. Which stream class is to only read from files ? ofstreamifstreamfstreamiostream Answer: Option B 4. eof() is used to get easy code reivewend of filedebug reportfile close Answer: Option B 5. Which is correct syntax ? myfile:open ("example.bin", ios::out);myfile.open ("example.bin", ios::out);myfile::open ("example.bin", ios::out);myfile.open ("example.bin", ios:out); Answer: Option B Read more from - C++ File Handling Questions Answers