What is the output of the following program segment? (Assume that screen is an ostream_iterator initialized to the standard output device to output elements of type int.)
int list[5] = {2, 4, 6, 8, 10};vector vecList(5);copy(list, list + 5, vecList.begin ( ));copy(vecList.begin ( ), vecList.end ( ), screen); cout ≪ endl;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.