If you enter 1 0, what is the output of the following code?

```
#include
using namespace std;

int main()
{
// Read two intergers
cout << "Enter two integers: ";
int number1, number2;

cin >> number1 >> number2;

try
{
if (number2 == 0)
throw number1;

cout << number1 << " / " << number2 << " is "
<< (number1 / number2) << endl;

cout << "C" << endl;
}
catch (int e)
{
cout << "A" << endl;
}

cout << "B" << endl;

return 0;
}
```

a. B
b. AB
c. A
d. C

b. AB

Computer Science & Information Technology

You might also like to view...

A(n) ________ is an instruction using Structured Query Language

Fill in the blank(s) with correct word

Computer Science & Information Technology

Open source software is the most expensive to purchase

Indicate whether the statement is true or false

Computer Science & Information Technology