#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; &quot;10 appears &quot; &lt;&lt; mycount &lt;&lt; &quot; times.\n&quot;;        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; &quot;20 appears &quot; &lt;&lt; mycount  &lt;&lt; &quot; times.\n&quot;;        return 0;    &#125;
A. 3 3
B. 3 1
C. 8
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; &quot;10 appears &quot; &lt;&lt; mycount &lt;&lt; &quot; times.\n&quot;;        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; &quot;20 appears &quot; &lt;&lt; mycount  &lt;&lt; &quot; times.\n&quot;;        return 0;    &#125;
A. 3 3 B. 3 1 C. 8 D. None of the mentioned