How many types of standard exception are there in c++?

Lan Anh

New member
How many types of standard exception are there in c++?
A. 9
B. 5
C. 6
D. 7
 
Answer: a
Explanation: There are nine standard exceptions in c++. They are bad_alloc, bad_cast, bad_exception, bad_function_call, bad_typeid, bad_weak_ptr, ios_base::failure, logic_error and runtime_error.
 

Tìm kiếm

Back
Top