What do the following statements do?

```
ifstream stream;
stream.open("scores.txt");
```

a. Open a file for output, the statement fails if the file already exists.
b. Open a file for output, the contents of the file is destroyed if the file already exists.
c. Open a file for input.
d. Open a file for input, the statement fails if the file does not exis

c. Open a file for input.

Computer Science & Information Technology

You might also like to view...

Data in a file is organized in __________ where each one is a complete set of data about an item.

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

Computer Science & Information Technology

The single most effective security measure for digital devices is to require a login password.

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

Computer Science & Information Technology