Which file opening mode in C++ will allow you to append data at the end of the file’s content? 

  • ios::binary 
  • ios::in 
  • ios::app 
  • ios::trunc
The "ios::app" mode in C++ stands for "append". When a file is opened in this mode, data will be appended to the end of the file's content if it already exists. If the file does not exist, a new one is created.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *