When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?


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

Post New Answer

More C++ General Interview Questions

Write a program to find the Factorial of a number

0 Answers  


How do I use arrays in c++?

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


What is the best c++ compiler for windows 10?

0 Answers  


Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

0 Answers   Maxobiz,






Is c++ the most powerful language?

0 Answers  


What are the uses of typedef in a program?

0 Answers  


How many types of modularization are there in c++?

0 Answers  


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

0 Answers  


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

0 Answers  


How do I start a c++ project?

0 Answers  


Ask to write virtual base class code?

0 Answers   Satyam,


Categories