InterviewSolution
Saved Bookmarks
| 1. |
Which exception is thrown if the typecasting is not done properly?(a) bad_type_cast(b) bad_any_cast(c) type_mismatched(d) bad_cast_mismatchedThis question was posed to me in unit test.My enquiry is from STL Container Any topic in section Class Hierarchies, Library & Containers of C++ |
|
Answer» Correct choice is (b) bad_any_cast |
|