Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Connect with a community of experts ready to help you find solutions to your questions quickly and accurately. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

When a statement within a try block causes an exception, the remaining statements in the try block Select one: a. are executed after the statements in the catch block b. are executed before the statements in the catch block c. aren't executed

Sagot :

In C++, 'Try block' comprises of a group of statements in which there is a probability of an exception to take place.

C). The statements that would be left in the try block in case a particular statement leads to an exception 'can't be executed.'

  • In case an exception takes place, the left statements in the try block fail to function.
  • This is the primary reason for which a catch block immediately succeeds a try block in order to deal with the exception and help close that code to allow the statements to work.
  • Thus, option C is the correct answer.

Learn more about 'Try block' here:

brainly.com/question/14186450