Vidyalelo
C++ Programming · Q17

Exception Handling in C++

Programming · C++ Programming · question 17

Q17

What is the purpose of the 'std::runtime_error' class in C++ exception handling?

A.
It represents errors detected during runtime
Answer
B.
It represents errors detected during compile time
C.
It represents logical errors in the code
D.
It represents memory allocation errors

Answer: Option A

Solution

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