What is the output of the following program segment? (Assume that screen is an ostream_iterator initialized to the standard output device that outputs elements of type int.)
vectorintVector;vector ::iterator vecIt;intVector.push_back (15);intVector.push_back (2);intVector.push_back (10);intVector.push_back (7);vecIt = intVector.begin ();vecIt++;intVector.erase(vecIt);intVector.pop_back ( );copy(intVector.begin ( ),intVector.end ( ), screen);
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.