class A{}; class B: A{}; void foo(A&a) {} int main(int argc, char* argv[]) { B b; foo(b); return 0; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment