English

Explain the function of the following file stream class: fstream - Computer Science 1

Advertisements
Advertisements

Questions

Explain the function of the following file stream class:

fstream

Write a function of the following:

fstream

Explain
Very Short Answer
Advertisements

Solution

It supports both input and output operations simultaneously.

It provides the open() function and inherits all functions from both istream and ostream classes through iostream.

shaalaa.com
  Is there an error in this question or solution?

APPEARS IN

2021-2022 (March) Set 1 (with solutions)
Q 2. (A) (a) (iii) | 1 mark
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×