Question

the statement ___ creates an input file object a.ifstream flieObject b.instream fileObject. c.ofstream fileObject; d.ifstream fileObject;

the statement ___ creates an input file object

a.ifstream flieObject

b.instream fileObject.

c.ofstream fileObject;

d.ifstream fileObject;

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ofstream: Stream class to write on files

ifstream: Stream class to read from files

Note a and d both are ifstream

Extra Note ::

fstream: Stream class to both read and write from/to files.

Ans -> a or d (both are same )

Please comment for any further assistance

Add a comment
Know the answer?
Add Answer to:
the statement ___ creates an input file object a.ifstream flieObject b.instream fileObject. c.ofstream fileObject; d.ifstream fileObject;
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT