#include &lt;iostream&gt;    #include &lt;functional&gt;    #include &lt;vector&gt;    #include &lt;algorithm&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;     &#123;        vector &lt;string*&gt; numbers;        numbers.push_back &#40; new string &#40;&quot;one&quot;&#41; &#41;;        numbers.push_back &#40; new string &#40;&quot;two&quot;&#41; &#41;;        numbers.push_back &#40; new string &#40;&quot;three&quot;&#41; &#41;;        vector &lt;int&gt; lengths &#40; numbers.size&#40;&#41; &#41;;        transform &#40;numbers.begin&#40;&#41;, numbers.end&#40;&#41;, lengths.begin&#40;&#41;,         mem_fun&#40;&amp;string :: length&#41;&#41;;        for &#40;int i = 0; i &lt; 3; i++&#41;         &#123;            cout &lt;&lt; lengths&#91;i&#93;;        &#125;        return 0;    &#125;
A. 335
B. 225
C. 334
D. 224
Answer:A
#include &lt;iostream&gt;    #include &lt;functional&gt;    #include &lt;vector&gt;    #include &lt;algorithm&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;     &#123;        vector &lt;string*&gt; numbers;        numbers.push_back &#40; new string &#40;&quot;one&quot;&#41; &#41;;        numbers.push_back &#40; new string &#40;&quot;two&quot;&#41; &#41;;        numbers.push_back &#40; new string &#40;&quot;three&quot;&#41; &#41;;        vector &lt;int&gt; lengths &#40; numbers.size&#40;&#41; &#41;;        transform &#40;numbers.begin&#40;&#41;, numbers.end&#40;&#41;, lengths.begin&#40;&#41;,         mem_fun&#40;&amp;string :: length&#41;&#41;;        for &#40;int i = 0; i &lt; 3; i++&#41;         &#123;            cout &lt;&lt; lengths&#91;i&#93;;        &#125;        return 0;    &#125;
A. 335 B. 225 C. 334 D. 224
Explanation:In this program, We calculated the number of letters in every string by using function objects.