When a program sends data from itself to the outside,say to a file or the screen,we say it is writing the data on the file or to the screen.
Correct Answer:
Verified
Q6: An istream object is already an ifstream
Q7: C++ uses the system file name for
Q8: When you use the open member function
Q9: A stream is a flow of data
Q10: An output stream is a stream of
Q12: An input stream is a stream of
Q13: The _ fstream member function closes a
Q14: When you write
ifstream inStream;
inStream.open("infile.dat");
the file,infile.dat must be
Q15: cin is an output stream object of
Q16: The flush member function copies the file
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents