adplus-dvertising
frame-decoration

Question

What is meant by ofstream in c++?

a.

Writes to a file

b.

Reads from a file

c.

Writes to a file & Reads from a file

d.

None of the mentioned

Answer: (a).Writes to a file

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is meant by ofstream in c++?