Solved

Given the Following Function Definition, What Happens If the Function

Question 32

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions