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.
You might also like to view...
Each layer contains its own stacking order.
Answer the following statement true (T) or false (F)
What domain contains the architecture analysis, code review, and security testing practices?
Fill in the blank(s) with the appropriate word(s).
Write a short program that shows how to defeat the slicing problem.
What will be an ideal response?
A(n) data file contains words, numbers, and pictures you can manipulate.
Answer the following statement true (T) or false (F)