What is the printout of the following code?

```
int values[] = {1, 2, 3, 4, 5};
fill_n(values + 2, 2, 9);

ostream_iterator output(cout, " ");
cout << "values: ";
copy(values, values + 5, output);
```

ostream_iterator output(cout, " ");
cout << "values: ";
copy(values, values + 5, output);

a. values: 1 2 3 9 9
b. values: 9 9 9 9 5
c. values: 1 9 9 9 5
d. values: 1 2 9 9 5


d. values: 1 2 9 9 5

Computer Science & Information Technology

You might also like to view...

A(n) ____ occurs when the sysadmin has allowed the system to perform a variety of services without considering the system's limitations.?

A. ?involuntary DoS B. ?distributed DoS C. ?isolated DoS D. ?voluntary DoS

Computer Science & Information Technology

If a Web application that communicates with a database has not been audited, a potential SQL ____ risk remains.

A. infection B. encryption C. injection D. projection

Computer Science & Information Technology

Filtering actions are ________, each additional filter that you apply is based on the current filter

A) subtractive B) dissociative C) connective D) additive

Computer Science & Information Technology

By default, the page title prints in the header and the page ____________________ prints in the footer.

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

Computer Science & Information Technology