adspace


Explain unexpected() function?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can union be self referenced?

1279


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1172


What is the latest version on c++?

1217


daily Routine of father

1492


What character terminates all character array strings a) b) . c) END

1403