If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is setw manipulator in c++?

0 Answers  


What is pointer to array in c++?

0 Answers  


Which is most difficult programming language?

0 Answers  


Why is swift so fast?

0 Answers  


Who calls main function?

0 Answers  






What are the advantages of using pointers in a program?

0 Answers  


Describe public access specifiers?

0 Answers  


How would you represent an error detected during constructor of an object?

1 Answers  


What is an Iterator class?

1 Answers  


Why would you make a destructor virtual?

3 Answers   Lehman Brothers,


What is the difference between mutex and binary semaphore?

0 Answers  


What are different types of polymorphism supported by C++

2 Answers   CA, GameLoft,


Categories