#include &lt;iostream&gt;    #include &lt;algorithm&gt;    #include &lt;vector&gt;    using namespace std;    int main &#40;&#41;    &#123;        int myints&#91;&#93;=&#123; 10, 20, 30, 40, 50 &#125;;        vector&lt;int&gt; myvector &#40;4, 99&#41;;        iter_swap&#40;myints, myvector.begin&#40;&#41;&#41;;        iter_swap&#40;myints + 3,myvector.begin&#40;&#41; + 2&#41;;        for &#40;vector&lt;int&gt; :: iterator it = myvector.begin&#40;&#41;;             it != myvector.end&#40;&#41;; ++it&#41;        cout &lt;&lt; ' ' &lt;&lt; *it;        return 0;    &#125;
A. 10
B. 10 40
C. 10 99 40 99
D. None of the mentioned
Answer:C
#include &lt;iostream&gt;    #include &lt;algorithm&gt;    #include &lt;vector&gt;    using namespace std;    int main &#40;&#41;    &#123;        int myints&#91;&#93;=&#123; 10, 20, 30, 40, 50 &#125;;        vector&lt;int&gt; myvector &#40;4, 99&#41;;        iter_swap&#40;myints, myvector.begin&#40;&#41;&#41;;        iter_swap&#40;myints + 3,myvector.begin&#40;&#41; + 2&#41;;        for &#40;vector&lt;int&gt; :: iterator it = myvector.begin&#40;&#41;;             it != myvector.end&#40;&#41;; ++it&#41;        cout &lt;&lt; ' ' &lt;&lt; *it;        return 0;    &#125;
A. 10 B. 10 40 C. 10 99 40 99 D. None of the mentioned
Explanation:In this program, We are swapping the certain values in two vectors by using iter_swap.