}/*v contains 0 1 2 3 4 5 6 7 8 9*/vector<int>::iterator first;vector<int>::iterator last;// first pointing to 0first = v.begin();// last pointing to 5last = v.begin() +5;// Calculating no. of elements between first and lastintnum =std::distance(first, last);// Displ...