You get the manipulators endl and member functions setf and precision with the iostream header,but you have to include the iomanip header to get the manipulators setw and setprecision..
Correct Answer:
Verified
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
Q17: When you call the setf function on
Q19: The _ fstream member function opens a
Q20: If the output is too wide for
Q21: What output will be produced when the
Q22: Assume you have opened and connected stream
Q23: Given the following code.The input file,in.dat,is 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