#include &lt;iostream&gt;    using namespace std;    void Division&#40;const double a, const double b&#41;;    int main&#40;&#41;    &#123;        double op1=0, op2=10;        try         &#123;            Division&#40;op1, op2&#41;;        &#125;        catch &#40;const char* Str&#41;        &#123;            cout &lt;&lt; &quot;\nBad Operator: &quot; &lt;&lt; Str;        &#125;        return 0;    &#125;    void Division&#40;const double a, const double b&#41;    &#123;        double res;        if &#40;b == 0&#41;            throw &quot;Division by zero not allowed&quot;;        res = a / b;        cout &lt;&lt; res;    &#125;
A. 0
B. Bad operator
C. 10
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    void Division&#40;const double a, const double b&#41;;    int main&#40;&#41;    &#123;        double op1=0, op2=10;        try         &#123;            Division&#40;op1, op2&#41;;        &#125;        catch &#40;const char* Str&#41;        &#123;            cout &lt;&lt; &quot;\nBad Operator: &quot; &lt;&lt; Str;        &#125;        return 0;    &#125;    void Division&#40;const double a, const double b&#41;    &#123;        double res;        if &#40;b == 0&#41;            throw &quot;Division by zero not allowed&quot;;        res = a / b;        cout &lt;&lt; res;    &#125;
A. 0 B. Bad operator C. 10 D. None of the mentioned