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.)
vectorvecList;vector ::iterator vecIt;vecList.push_back (3);vecList.push_back (5);vecList.push_back (7);vecIt = vecList.begin ( ); ++vecIt;vecList.erase(vecIt);vecList.push_back(9);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.