Google News
logo
CPP - Quiz(MCQ)
What is meant by ofstream in c++?
A)
Writes to a file
B)
delete a file
C)
Reads from a file
D)
Writes to a file & Reads from a file

Correct Answer :   Writes to a file


Explanation : ofstream : This data type represents the output file stream and is used to create files and to write information to files.

Advertisement