Which of the following is used to create a stream that performs both input and output operations?
(a) ofstream
(b) ifstream
(c) iostream
(d) fstream
This question was posed to me in class test.
This intriguing question comes from File Handling in chapter Strings, Streams & Numerics in C++ of C++