Find the best solutions to your questions at Westonci.ca, the premier Q&A platform with a community of knowledgeable experts. Explore thousands of questions and answers from knowledgeable experts in various fields on our Q&A platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

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