Let's test your knowledge. Click the correct answer from the options.
Which statement is true about try
, throw
, and catch
blocks in C++?
Click the option that best answers the question.
- `try` blocks only include code that might throw an exception.
- `catch` blocks are only used to handle exceptions.
- `throw` statement is used to throw an exception.
- All of the above