Given the following function definition, what happens if the function throws the exception?
void f1( ) throw (double)
{
if( //some code here)
throw 12;
}
a. the 12 will be converted to 12.0
b. the function will throw an integer exception which is passed to the calling code.
c. the function will cause the program to exit
d. this code has a syntax error
c. the function will cause the program to exit
You might also like to view...
The following program purports to sum all entered int values that are greater than 5. It compiles without any error message, and it executes without error message, but nevertheless is wrong. Name all the errors.
```
// Display the sum of all entered int values
// greater than 5
#include
You cannot change the stacking order of layers.
Answer the following statement true (T) or false (F)