Which of the following is used to create an output stream?

a) ofstream
b) ifstream
c) iostream
d) fsstream

1 thought on “ Which of the following is used to create an output stream?”

  1. a
    Explanation: ofstream is used to create an output stream in C++ file handling operations. Ofstream objects are used to read files.

Leave a Comment