Match the following file stream classes in C++ with its functions.

 1. fstream base  i. Provides support for simultaneous input and output operation
 2. ifstream  ii. Provides output operation
 3. ofstream  iii. Provides operations common to file streams
 4. fstream  iv. Provides input operation.

1
1 - iv, 2 - iii, 3 - i, 4 - ii
2
1 - i, 2 - iii, 3 - iv, 4 - ii
3
1 - iii, 2 - iv, 3 - ii, 4 - i
4
More than one of the above
5
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation