What is the output of the following program segment? (15) vector vecList = {27, 32, 45, 6,
Fantastic news! We've Found the answer you've been seeking!
Question:
What is the output of the following program segment? (15)
vector vecList = {27, 32, 45, 6, 18, 5, 92, 10, 32, 29};
ostream_iterator screen (cout, " " ) ;
copy (vecList.begin () , vecList. end () , screen) ;
cout << endl;
copy (vecList.begin () + 5, vecList.end (),
vecList.begin () +1;
copy (vecList.begin () , vecList.end () , screen );
cout << endl;
Related Book For
Statistics The Art And Science Of Learning From Data
ISBN: 9780321997838
4th Edition
Authors: Alan Agresti, Christine A. Franklin, Bernhard Klingenberg
Posted Date: