Question: QUESTION 9 What is the difference between ofstream and ifstream in C + + file handling? choose one * 7 points ofstream is for reading,
QUESTION
What is the difference between ofstream and ifstream in C file handling?
choose one points
ofstream is for reading, and ifstream is for writing
ofstream is for bidirectional file access, and ifstream is for unidirectional file access
ofstream is for writing, and ifstream is for reading
There is no difference between them
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
