Child cObj = new Parent()
Wahts the output ?

Answer Posted / bangarraju

This is the DownCasting,but using like this
Child* obj=down_cast<Child* >(Parent) either using RTTI
mechanism in C++

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are functions in oop?

580


What language is oop?

591


What is difference between inheritance and polymorphism?

561


class type to basic type conversion

1833


Whats oop mean?

584






What does and I oop and sksksk mean?

646


What does <> mean pseudocode?

618


What is abstraction with example?

597


Why do we use oop?

595


Can a varargs method be overloaded?

613


What are properties in oop?

601


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1535


What is the main feature of oop?

616


What is difference between oop and pop?

609


Can private class be inherited?

615