#include &lt;iostream&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string str &#40;&quot;Steve jobs&quot;&#41;;        cout &lt;&lt; str.length&#40;&#41;;        return 0;    &#125;
A. 8
B. 10
C. 12
D. 9
Answer:A
#include &lt;iostream&gt;    #include &lt;string&gt;    using namespace std;    int main &#40;&#41;    &#123;        string str &#40;&quot;Steve jobs&quot;&#41;;        cout &lt;&lt; str.length&#40;&#41;;        return 0;    &#125;
A. 8 B. 10 C. 12 D. 9
Explanation:In this program, We are finding the length of the string.