#include &lt;iostream&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string str;        string str2=&quot;Steve jobs&quot;;        string str3=&quot;He founded apple&quot;;        str.append&#40;str2&#41;;        str.append&#40;str3, 6, 3&#41;;        str.append&#40;str3.begin&#40;&#41; + 6, str3.end&#40;&#41;&#41;;        str.append&lt;int&gt;&#40;5, 0x2E&#41;;        cout &lt;&lt; str &lt;&lt; '\n';        return 0;    &#125;
A. Steve jobs
B. He founded apple
C. Steve
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string str;        string str2=&quot;Steve jobs&quot;;        string str3=&quot;He founded apple&quot;;        str.append&#40;str2&#41;;        str.append&#40;str3, 6, 3&#41;;        str.append&#40;str3.begin&#40;&#41; + 6, str3.end&#40;&#41;&#41;;        str.append&lt;int&gt;&#40;5, 0x2E&#41;;        cout &lt;&lt; str &lt;&lt; '\n';        return 0;    &#125;
A. Steve jobs B. He founded apple C. Steve D. None of the mentioned
Explanation:In this program, We are characters to the string, So the output will as follows.