If Dynamiccast Fails Which Value Is Returned #1237
If dynamic_cast fails, which value is returned?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Default Arguments vs Overloading, Upcasting and Downcasting - OOPs MCQ: Downcasting - Quiz No.1.
If dynamic_cast fails, which value is returned?
void
null
void pointer
null pointer