adplus-dvertising
frame-decoration

Question

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

Answer: (a).Address of object which is converted

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does dynamic_cast return after successful type casting?

Similar Questions

Discover Related MCQs

Q. What should be used for safe downcast?

Q. Downcasting ____________________

Q. Downcasting is _______________________

Q. Which among the following is a mandatory condition for downcasting?

Q. What is downcasting?

Q. If two classes are defined “Parent” and “Child” then which is the correct type upcast syntax in C++?

Q. When are the object type known for upcasting the objects?

Q. When are the pointer types known for upcasting the objects?

Q. Which concept is needed because of implicit type casting use?

Q. Upcasting is _____________________ without an explicit type cast.

Q. If class C inherits class B and class B inherits class A ________________

Q. If multiple inheritance is implemented, which upcasting will be correct?

Q. Upcasting and downcasting objects is same as casting primitive types.

Q. Which property is shown most when upcasting is used?

Q. Which among the following is best situation to use upcasting?

Q. Which among the following is safe?

Q. Which among the following is true for upcasting in inheritance?

Q. What is upcasting?

Q. Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?

Q. Which is the correct statement for default constructors?