Home » C++ Programming » Exception Handling » Question
  1. Which is used to check the error in the block?
    1. catch
    2. try
    3. throw
    4. All of above
    5. None of these
Correct Option: B

The try block is used to check for errors, if there is any error means, it can throw it to catch block.



Your comments will be displayed only after manual approval.