Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Q27: The catch block is a function.
Q28: The following class definition<br>Class MyError<br>{};<br>A) has no
Q29: The following catch statement<br>Catch...)<br>A) is illegal<br>B) catches
Q30: If a function throw list specifies a
Q31: If no exception is thrown, then the
Q33: The throw statement passes a value to
Q34: Can the following function throw any unhandled
Q35: The throw statement is enclosed in<br>A) a
Q36: If a throw list has multiple exceptions
Q37: Which of the following would be a