Sunday, July 20, 2014

Which of the following is the most preferred way of throwing and handling exceptions?

a. Throw by value and catch by reference.
b. Throw by reference and catch by reference.
c. Throw by value and catch by value
d. Throw the pointer value and provide catch for teh pointer type.

Ans: a

No comments: