Computer Science, asked by afifamaryam977, 18 days ago

Can a file be used for both input and output by the same program ?​

Answers

Answered by tanisha9898
2

Answer:

But for the underlying stream buffers, it does mean something to open as both input and output: For example, filestream and string stream buffers allow putback functionality, but it can only beused if the buffers' std::ios_base::openmode specifiesoutput.

Explanation:

Pls mark me as a brainlist

Answered by chandanakorra01
0

Answer:

yes it can be used for both input and output by the same program

Similar questions