adspace
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