Vidyalelo
C++ Programming · Q306

C++ miscellaneous

Programming · C++ Programming · question 306

Q306

What is the use of the 'finally' keyword?

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
Answer
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

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board