When used by itself, ________ causes a file's contents to be deleted if the file already exists.

A) ios:app
B) ios::in
C) ios::out
D) All of the above
E) None of the above

C) ios::out

Computer Science & Information Technology

You might also like to view...

Answer the following questions true (T) or false (F)

1. Objects of type String are strings of characters that are written within single quotes. 2. In Java, Strings are immutable objects. Immutable objects can be changed.

Computer Science & Information Technology

Reading data from a character-based file is almost identical to reading data from a standard keyboard, except that the cin object is replaced by the ____ object declared in the program.

A. fstream B. ifstream C. iostream D. ostream

Computer Science & Information Technology