If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?


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

Post New Answer

More C++ General Interview Questions

Explain virtual class and friend class.

0 Answers  


What is private, public and protected inheritance?

0 Answers  


What is overloading unary operator?

0 Answers  


What is the maximum value of a unsigned char a) 255 b) 256 c) 128

0 Answers  


How do you show the declaration of a virtual constructor?

0 Answers  






What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?

3 Answers  


what do you mean by volatile variable?

0 Answers  


What is difference between c++ 11 and c++ 14?

0 Answers  


What is an ABC: an "Abstract Base Class"?

1 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,


What is exception handling? Does c++ support exception handling?

0 Answers  


What is difference between class and function?

0 Answers  


Categories