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

Is there any difference between dlearations int* x and int *x? If so tell me the difference?

16 Answers   Lason,


What is else if syntax?

0 Answers  


There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.

2 Answers   Nagarro,


Define a constructor?

0 Answers  


What gives the current position of the put pointer?

0 Answers  






What are the general quetions are in DEna bank manager IT/System interviews?

0 Answers   Dena Bank, ICICI,


what is the order of initialization for data?

10 Answers   Amazon, TCS, Wipro,


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


Is c++ proprietary?

0 Answers  


Difference between a copy constructor and an assignment operator.

0 Answers  


Enter n no. of element and delete value from desire position

1 Answers  


Which one between if-else and switch is more efficient?

0 Answers  


Categories