Assuming dataFile is a file stream object, the following statement:

dataFile.close();

a. is illegal in C++
b. needs a filename argument to execute cor-rectly
c. closes a file
d. is legal but risks losing valuable data
e. None of these


c. closes a file

Computer Science & Information Technology

You might also like to view...

Input operations are supported by class __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Microsoft ________ is often the default program for opening RTF files

Fill in the blank(s) with correct word

Computer Science & Information Technology

You cannot create dynamic Web pages using JavaScript commands

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following ruled that the locality of the offense, not the personal presence of the offender, is the constitutional basis for venue?

a. Travis v. U.S. b. U.S. v. Park c. Johnson v. U.S. d. United States v. Charbonneau

Computer Science & Information Technology