Computer Science, asked by Ravinder910, 11 months ago

The file mode parameter ios::app belongs to _______ stream type.

Answers

Answered by alinakincsem
0

Answer:

The correct answer is "strstream"

Explanation:

There are multiple options which would fit the given fill in the blank/ analogy like question.

For instance, "ifstream", "ofstream", "strstream", "issstream"

But what fits best is the strstream,

In detail this stream of class is what puts into practice the input and output operations on array-backed streams. This type of constructor has many member functions.

Answered by smartbrainz
0

The file mode parameter ios::app belongs to ofstream stream type.

Explanation:

  • The 'iOS::app' will take 'control to the end of the file' when it is opened. The 'ios:: app' mode permits the user to 'add data' to the end of the file only.
  • If the 'output file does not exist', then, it will be created with the stated name. The 'ios:: app parameter' can only be used with files that are suited to output. Creating a stream using the "ofstream" means output.

To know more

Ofstream fout(getenv("output_path")); means

https://brainly.in/question/4881313

The File mode parameter ios::app belongs

Stream type.

(A) ifstream (B) ofstream

(C) strstream (D) isstream​

https://brainly.in/question/12694429

Similar questions