Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. What is meant by ofstream in c++?
  2. A.
    Writes to a file
    B.
    Reads from a file
    C.
    Both a & b
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    ofstream is a stream class to write on files.


Be The First To Comment