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 alloc...
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?
Explore more in Computer Science:
Computer Science MCQs MCQs
Java MCQ Questions MCQs
PHP MCQ Questions MCQs
Python MCQ Questions MCQs
C MCQ Questions MCQs
JavaScript MCQ Questions MCQs
HTML MCQ Questions MCQs
CSS MCQ Questions MCQs
SQL MCQ Questions MCQs
Algorithms MCQ MCQs