Home » C++ Programming » Exception Handling » Question
  1. What are the disadvantages if use return keyword to return error codes?
    1. The code becomes more difficult to read
    2. Your code size increases dramatically
    3. You have to handle all exceptional cases explicitly
    4. All of above
    5. None of these
Correct Option: D

As we are using return for each and every exception, It will definitely increase the code size.



Your comments will be displayed only after manual approval.