What happens when a function throws an exception that was not specified by an exception specification for this function?



What happens when a function throws an exception that was not specified by an exception specificatio..

Answer / shalesh kumar

Unexpected() is called, which, by default, will eventually trigger abort().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

In what situations do you have to use initialization list rather than assignment in constructors?

0 Answers  


diff between pointer and reference in c++?

1 Answers  


Describe exception handling concept with an example?

0 Answers  


Is vector a class in c++?

0 Answers  


Explain the operation of overloading of an assignment operator.

0 Answers  






Which bit wise operator is suitable for putting on a particular bit in a number?

0 Answers  


What is encapsulation in c++ with example?

0 Answers  


write infinite loop in C++ which does not use any variable or constant?

3 Answers  


What is function overloading in C++?

1 Answers  


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

0 Answers  


Which is not a valid keyword a) public b) protected c) guarded

0 Answers  


C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() {   cout<<cout<<' ';   cout<<cin;   return 0; } It prints some address in hexadecimal. what is it?

1 Answers  


Categories