#include &lt;iostream&gt;    #include &lt;algorithm&gt;    using namespace std;    int main &#40;&#41;    &#123;        int myints&#91;&#93; = &#123; 10, 20, 30, 30, 20, 10, 10, 20 &#125;;        int* pbegin = myints;        int* pend = myints + sizeof&#40;myints&#41; / sizeof&#40;int&#41;;        pend = remove &#40;pbegin, pend, 20&#41;;        for &#40;int* p = pbegin; p != pend; ++p&#41;            cout &lt;&lt; ' ' &lt;&lt; *p;        return 0;    &#125;
A. 10 20 30
B. 10 30 30 10 10
C. 10 20 30 30
D. None of the mentioned
Answer:B
#include &lt;iostream&gt;    #include &lt;algorithm&gt;    using namespace std;    int main &#40;&#41;    &#123;        int myints&#91;&#93; = &#123; 10, 20, 30, 30, 20, 10, 10, 20 &#125;;        int* pbegin = myints;        int* pend = myints + sizeof&#40;myints&#41; / sizeof&#40;int&#41;;        pend = remove &#40;pbegin, pend, 20&#41;;        for &#40;int* p = pbegin; p != pend; ++p&#41;            cout &lt;&lt; ' ' &lt;&lt; *p;        return 0;    &#125;
A. 10 20 30 B. 10 30 30 10 10 C. 10 20 30 30 D. None of the mentioned