Sail E0 Webinar
Question
What is meant by ofstream in c++?
Options:
A .  Writes to a file
B .  Reads from a file
C .  Both a & b
D .  None of the mentioned
Answer: Option A


ofstream is a stream class to write on files.



Was this answer helpful ?

Submit Solution

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

Latest Videos

Latest Test Papers