#include &lt;iostream&gt;    using namespace std;    double division&#40;int a, int b&#41;    &#123;        if &#40;b == 0&#41;        &#123;            throw &quot;Division by zero condition!&quot;;        &#125;        return &#40;a / b&#41;;    &#125;    int main &#40;&#41;    &#123;        int x = 50;        int y = 0;        double z = 0;        try         &#123;            z = division&#40;x, y&#41;;            cout &lt;&lt; z &lt;&lt; endl;        &#125;        catch &#40;const msg&#41;         &#123;            cerr &lt;&lt; msg &lt;&lt; endl;        &#125;        return 0;    &#125;
A. 50
B. 0
C. Division by zero condition
D. Error
Answer:A
#include &lt;iostream&gt;    using namespace std;    double division&#40;int a, int b&#41;    &#123;        if &#40;b == 0&#41;        &#123;            throw &quot;Division by zero condition!&quot;;        &#125;        return &#40;a / b&#41;;    &#125;    int main &#40;&#41;    &#123;        int x = 50;        int y = 0;        double z = 0;        try         &#123;            z = division&#40;x, y&#41;;            cout &lt;&lt; z &lt;&lt; endl;        &#125;        catch &#40;const msg&#41;         &#123;            cerr &lt;&lt; msg &lt;&lt; endl;        &#125;        return 0;    &#125;
A. 50 B. 0 C. Division by zero condition D. Error
Explanation:As we missed the data type in the catch block, It will arise an error.