Vidyalelo
C++ Programming · Q7

File Handling in C++

Programming · C++ Programming · question 7

Q7

Which of the following is used to read data from a file in C++?

A.
file.read()
B.
read(file)
C.
file >> data
Answer
D.
data >> file

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board