Question: Question 4: 1 Point Question 7 Suppose you have an open file object called infile. Which of the following C++ statements will close the file?
Question 4:

1 Point Question 7 Suppose you have an open file object called infile. Which of the following C++ statements will close the file? A infile.close(): B) infile.closeFile(): C close("infile"); closeFile("infile")
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
