Subscribe TechModgy to learn about new technologies!

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.

Please do not use chat terms. Example: avoid using "grt" instead of "great".