#include &lt;iostream&gt;    #include &lt;vector&gt;    using namespace std;    int main &#40;&#41;    &#123;        vector&lt;int&gt; first;        first.assign &#40;7,100&#41;;        vector&lt;int&gt;::iterator it;        it=first.begin&#40;&#41;+1;        int myints&#91;&#93; = &#123;1776,7,4&#125;;        cout &lt;&lt; int &#40;first.size&#40;&#41;&#41; &lt;&lt; '\n';        return 0;    &#125;
A. 10
B. 9
C. 8
D. 7
Answer:A
#include &lt;iostream&gt;    #include &lt;vector&gt;    using namespace std;    int main &#40;&#41;    &#123;        vector&lt;int&gt; first;        first.assign &#40;7,100&#41;;        vector&lt;int&gt;::iterator it;        it=first.begin&#40;&#41;+1;        int myints&#91;&#93; = &#123;1776,7,4&#125;;        cout &lt;&lt; int &#40;first.size&#40;&#41;&#41; &lt;&lt; '\n';        return 0;    &#125;
A. 10 B. 9 C. 8 D. 7
Explanation:In this program, We are finding the size of the vector elements and resizing it.