struct A { }; struct B : A { }; int main() { B b; A a = dynamic_cast<A>(b); }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment