#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, 30, 20, 10, 10, 20&#125;;        int mycount = count &#40;myints, myints + 8, 10&#41;;        cout &lt;&lt; mycount;        vector&lt;int&gt; myvector &#40;myints, myints + 8&#41;;        mycount = count &#40;myvector.begin&#40;&#41;, myvector.end&#40;&#41;, 20&#41;;        cout &lt;&lt; mycount;        return 0;    &#125;
A. 33
B. 44
C. 22
D. None of the mentioned
Answer:A
#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, 30, 20, 10, 10, 20&#125;;        int mycount = count &#40;myints, myints + 8, 10&#41;;        cout &lt;&lt; mycount;        vector&lt;int&gt; myvector &#40;myints, myints + 8&#41;;        mycount = count &#40;myvector.begin&#40;&#41;, myvector.end&#40;&#41;, 20&#41;;        cout &lt;&lt; mycount;        return 0;    &#125;
A. 33 B. 44 C. 22 D. None of the mentioned
Explanation:In this program, We are counting the number of 10’s and 20’s in the program.