Computer Science, asked by monikaarya036, 10 months ago

34.
to
The File mode parameter ios::app belongs
Stream type.
(A) ifstream (B) ofstream
(C) strstream (D) isstream​

Answers

Answered by parveen1239
4

Answer:

ofstream

Explanation:

The file mode parameter ios::app belongs ofstream.

Answered by mindfulmaisel
0

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

Answer: Option B

Explanation:

There is certain hierarchy in ios (Input and Output Streams). ‘ios’ is classified as two in second level hierarchy namely ostream and istream. The third level will be ofstream, ifstream, iostream. And the final would be ifstream. Thus the mother of all the base classes would be ios.

The flag known as ios::app will always append the output the file’s end. The mode here, is always ‘out’. Thus the file ode parameter of the ios::app is always ofstream out.  

Similar questions