What is the output of the following program segment?
dequeintDeq;ostream_iterator screen(cout, " ");deque ::iterator deqIt;intDeq.push_back (5);intDeq.push_front (23);intDeq.push_front (45);intDeq.push_back (35);intDeq.push_front (0);intDeq.push_back (50);intDeq.push_front (34);deqIt = intDeq.begin ( );intDeq.insert(deqIt,76);intDeq.pop_back ( );deqIt = intDeq.begin ( );++deqIt;++deqIt;intDeq.erase(deqIt);intDeq.push_front(2 * intDeq.back ( ));intDeq.push_back(3 * intDeq.front ( ));copy(intDeq.begin ( ), intDeq.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.