The statement dataFile.close();

A) is illegal in C++.
B) needs a file name argument to execute correctly.
C) closes a file.
D) is legal but risks losing valuable data.
E) None of the above


C) closes a file.

Computer Science & Information Technology

You might also like to view...

Which of the following is true?

a. A precondition must be true when a method is invoked. b. A postcondition must be true when a method successfully returns to its caller. c. Both (a) and (b). d. Neither (a) nor (b).

Computer Science & Information Technology

Tap ENTER ____ time(s) after keying the complimentary close before keying the writer's name and title.

A. one B. two C. three D. four

Computer Science & Information Technology

An administrator is provisioning a 10GBaseSR Ethernet connection between two core switches. Which of the following cable types should the administrator plan to use?

A. Multimode fiber B. RG-6 copper C. Single-mode fiber D. CAT6 copper

Computer Science & Information Technology

Today’s computer animation programs most closely resemble:

a. film “rotoscoping” techniques. b. the “phi” phenomenon described by Carl Jung. c. neuro-kinetics techniques pioneered by NASA. d. traditional cel animation. e. none of the above.

Computer Science & Information Technology