#include &lt;iostream&gt;    #include &lt;memory&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string numbers&#91;&#93; = &#123;&quot;steve&quot;, &quot;jobs&quot;&#125;;        pair &lt;string*, ptrdiff_t&gt; result = get_temporary_buffer&lt;string&gt;&#40;2&#41;;        if &#40;result.second&gt;0&#41;         &#123;            uninitialized_copy &#40; numbers, numbers + result.second, result.first &#41;;            for &#40;int i = 0; i &lt; result.second; i++&#41;                cout &lt;&lt; result.first&#91;i&#93; &lt;&lt; &quot; &quot;;            return_temporary_buffer&#40;result.first&#41;;        &#125;        return 0;    &#125;
A. steve
B. jobs
C. jobs steve
D. steve jobs
Answer:A
#include &lt;iostream&gt;    #include &lt;memory&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string numbers&#91;&#93; = &#123;&quot;steve&quot;, &quot;jobs&quot;&#125;;        pair &lt;string*, ptrdiff_t&gt; result = get_temporary_buffer&lt;string&gt;&#40;2&#41;;        if &#40;result.second&gt;0&#41;         &#123;            uninitialized_copy &#40; numbers, numbers + result.second, result.first &#41;;            for &#40;int i = 0; i &lt; result.second; i++&#41;                cout &lt;&lt; result.first&#91;i&#93; &lt;&lt; &quot; &quot;;            return_temporary_buffer&#40;result.first&#41;;        &#125;        return 0;    &#125;
A. steve B. jobs C. jobs steve D. steve jobs
Explanation:In this program, We are storing the string and retrieving the string by using get_temporary_method.