Vidyalelo
C++ Programming · Q19

Exception Handling in C++

Programming · C++ Programming · question 19

Q19

Which of the following is true about the 'noexcept' specifier in C++?

A.
It indicates that a function may throw an exception
B.
It indicates that a function will never throw an exception
Answer
C.
It automatically catches exceptions
D.
It is used for exception handling

Answer: Option B

Solution

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