Explain unexpected() function?



Explain unexpected() function?..

Answer / Sudam Kumar

The "unexpected()" function in C++ is a part of exception handling. It's used by the standard library to report an unexpected condition, typically thrown when an error occurs during runtime that was not anticipated by the programmer. This function is not directly called by the programmer but is invoked implicitly by the exception handling mechanism.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Why c++ is better than c language?

1 Answers  


What is dev c++ used for?

1 Answers  


What is else syntax in c++?

1 Answers  


What is array in c++ pdf?

1 Answers  


Why c++ is created?

1 Answers  


What is a dangling pointer in c++?

1 Answers  


Write a C++ Program to check whether a number is prime number or not?

1 Answers   IBS,


Why do we need c++?

1 Answers  


What is while loops?

1 Answers  


Why is it called c++?

1 Answers  


what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.

9 Answers  


How is c++ different from java?

1 Answers  


Categories