What does dynamic_cast return after successful type casting?
(a) Address of object which is converted
(b) Address of object that is used for conversion
(c) Address of object that is mentioned in the syntax
(d) Doesn’t return any address
I had been asked this question during an interview for a job.
My question comes from Downcasting topic in division Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming