Question: Assuming datafile is a file stream object, the following statement: datafile.close ( ) ; a . needs a filename argument to execute correctly b .

Assuming datafile is a file stream object, the following statement: datafile.close();
a. needs a filename argument to execute correctly
b. closes a file
c. is illegal in C+
d. None of these
e. is legal but risks losing valuable data
 Assuming datafile is a file stream object, the following statement: datafile.close();

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!