Exam
Vibe
Home
Engineering
Aerospace Engineering
Biomedical Engineering
Chemical Engineering
Civil Engineering
Computer Science
Electrical Engineering
Electronics and Communication Engineering
Mechanical Engineering
Govt Exam
Banking Exams
Other Government
Police
Railway Exams
SSC
State PSC Exams
Teaching / Education Exams
UPSC Exams
Blog
Contact
๐
Home
โบ
Computer Science
โบ
C++ MCQ Questions
โบ
Which function is invoked when new memory allocation fail...
Which function is invoked when new memory allocation fails in C++?
A. terminate()
B. bad_alloc()
C. new_fail()
D. malloc_error()
Explanation:
bad_alloc exception is thrown when new cannot allocate memory.
Tags:
C++ MCQ Questions
,
Computer Science
ยซ Previous
Next ยป
More from C++ MCQ Questions:
Which of the following is not a feature of C++?
Which of the following is used to define a class in C++?
Which concept allows the use of the same function name with different parameter lists?
Which operator cannot be overloaded in C++?
Which of the following is the correct syntax to declare a constructor?
Which feature of OOP in C++ provides data hiding?