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

Discussion :: C++ - MCQs

  1. What must be specified when we construct an object of class ostream?
  2. A.
    stream
    B.
    streambuf
    C.
    memory
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    If you construct an object of class ostream, you must specify a streambuf object to the constructor.


Be The First To Comment