#include &lt;list&gt;    #include &lt;string&gt;    #include &lt;iostream&gt;    using namespace std ;    typedef list&lt;string&gt; LISTSTR;     int main&#40;&#41;    &#123;        LISTSTR :: iterator i;        LISTSTR test;        test.insert&#40;test.end&#40;&#41;, &quot;one&quot;&#41;;        test.insert&#40;test.end&#40;&#41;, &quot;two&quot;&#41;;        LISTSTR test2&#40;test&#41;;        LISTSTR test3&#40;3, &quot;three&quot;&#41;;        LISTSTR test4&#40;++test3.begin&#40;&#41;,        test3.end&#40;&#41;&#41;;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test.begin&#40;&#41;; i != test.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test2.begin&#40;&#41;; i != test2.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test3.begin&#40;&#41;; i != test3.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test4.begin&#40;&#41;; i != test4.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;    &#125;
A. test
B. test one
C. test two
D. None of the mentioned
Answer:A
#include &lt;list&gt;    #include &lt;string&gt;    #include &lt;iostream&gt;    using namespace std ;    typedef list&lt;string&gt; LISTSTR;     int main&#40;&#41;    &#123;        LISTSTR :: iterator i;        LISTSTR test;        test.insert&#40;test.end&#40;&#41;, &quot;one&quot;&#41;;        test.insert&#40;test.end&#40;&#41;, &quot;two&quot;&#41;;        LISTSTR test2&#40;test&#41;;        LISTSTR test3&#40;3, &quot;three&quot;&#41;;        LISTSTR test4&#40;++test3.begin&#40;&#41;,        test3.end&#40;&#41;&#41;;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test.begin&#40;&#41;; i != test.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test2.begin&#40;&#41;; i != test2.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test3.begin&#40;&#41;; i != test3.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;        cout &lt;&lt; &quot;test:&quot;;        for &#40;i =  test4.begin&#40;&#41;; i != test4.end&#40;&#41;; ++i&#41;            cout &lt;&lt; &quot; &quot; &lt;&lt; *i &lt;&lt; endl;    &#125;
A. test B. test one C. test two D. None of the mentioned
Explanation:In this program, We used the list to manipulate the given value.