#include &lt;iostream&gt;    #include &lt;exception&gt;    using namespace std;    int main &#40;&#41;     &#123;        try        &#123;            double* i= new double&#91;1000&#93;;            cout &lt;&lt; &quot;Memory allocated&quot;;        &#125;        catch &#40;exception&amp; e&#41;        &#123;            cout &lt;&lt; &quot;Exception arised: &quot; &lt;&lt; e.what&#40;&#41; &lt;&lt; endl;        &#125;        return 0;    &#125;
A. Memory allocated
B. Exception arised
C. Depends on the computer memory
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    #include &lt;exception&gt;    using namespace std;    int main &#40;&#41;     &#123;        try        &#123;            double* i= new double&#91;1000&#93;;            cout &lt;&lt; &quot;Memory allocated&quot;;        &#125;        catch &#40;exception&amp; e&#41;        &#123;            cout &lt;&lt; &quot;Exception arised: &quot; &lt;&lt; e.what&#40;&#41; &lt;&lt; endl;        &#125;        return 0;    &#125;
A. Memory allocated B. Exception arised C. Depends on the computer memory D. None of the mentioned
Explanation:The value will be allocated, if there is enough memory in the system.