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 (7);copy (list, list + 5, vecList.begin ( ));vecList.push_back (12);copy (vecList.begin ( ), vecList.end ( ), screen);cout ≪ end1;
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.