In the following code, which statement is the throw point?

```
double divide(int numer, int denom)
{
if (denom == 0)
throw "ERROR: Cannot divide by zero.\n";
else
return static_cast(numer)/denom;
}
```

a. if (denom == 0)
b. throw "ERROR: Cannot divide by zero.\n";
c. return static_cast(numer)/denom;
d. There is no throw point because there is no try block.
e. None of these

b. throw "ERROR: Cannot divide by zero.\n";

Computer Science & Information Technology

You might also like to view...

A(n) ________ form shows multiple records in Datasheet view

Fill in the blank(s) with correct word

Computer Science & Information Technology

The original file that contains a table, chart, or object to be inserted into another file is known as the ________ file

Fill in the blank(s) with correct word

Computer Science & Information Technology