C++ | Exception Handling | Question 3

Last Updated :
Discuss
Comments

What should be put in a try block?

1. Statements that might cause exceptions
2. Statements that should be skipped in case of an exception 

Only 1

Only 2

Both 1 and 2

Share your thoughts in the comments