Question: What is the use of the ‘finally’ keyword?

Options

A : It used to execute at the starting of the program

B : It will be executed at the end of the program even if the exception arised

C : It will be executed at the starting of the program even if the exception arised

D : It will be executed at the middle of the program even if the exception arised

Click to view Correct Answer

Previous || Next

Cpp Programming Error Handling more questions

Which of the following is a characteristic of digital signal?

Which of the following is correct about the baud rate....

What is the role of small nuclear RNAs in protein....

What is the role of mRNA in protein synthesis?

What is the speciality about the inorder traversal of a....

The disadvantage of RTL is that __________

Which of the following is incorrect statement about branch-and-bound?

Which of the following is untrue about the Sfold algorithm?

Which of the following is correct about MFOLD?

Which of the following statements is/are correct about stray current?

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cpp Interview Run Time

Cpp Interview Vector

Cpp Language Interview Questions Container

Cpp Multiple Choice Questions Exceptions Not Errors

Cpp Multiple Choice Questions Template Arguments

Cpp Programming Interview Questions Catching Exceptions

Cpp Programming Interview Questions Error Handling

Cpp Programming Interview Questions Function Templates

Cpp Programming Multiple Inheritance

Cpp Programming Uncaught Exceptions