When you write
ifstream inStream;
inStream.open("infile.dat");
the file,infile.dat must be located in the directory where the program is being run.
Correct Answer:
Verified
Q9: A stream is a flow of data
Q10: An output stream is a stream of
Q11: When a program sends data from itself
Q12: An input stream is a stream of
Q13: The _ fstream member function closes a
Q15: cin is an output stream object of
Q16: The flush member function copies the file
Q17: When you call the setf function on
Q18: You get the manipulators endl and member
Q19: The _ fstream member function opens a
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