Programming - Exceptions - Discussion
You Are Here :: Home > C++ Language > Exceptions -
Discussion
|
Q. |
What are the disadvantages if use return keyword to return error codes?
|
A. |
You have to handle all exceptional cases explicitly |
B.
|
Your code size increases dramatically
|
C.
|
The code becomes more difficult to read
|
D.
|
All of the mentioned
|
|
Answer: |
Option
D |
Explaination: |
As we are using return for each and every exception, It will definetly increase the code size.
|
Discussion
Your Comments Goes here... |