What does it mean to declare a member function as virtual?


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

Post New Answer

More C++ General Interview Questions

why c++ is not called strictly d super set of c?

3 Answers   Satyam,


class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.

5 Answers   Quark,


What is enum class in c++?

0 Answers  


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

0 Answers  


What is a rooted hierarchy?

0 Answers  






What are libraries in c++?

0 Answers  


What is conditions when using boolean operators?

0 Answers  


What is a literal in c++?

0 Answers  


Can you write a function similar to printf()?

0 Answers  


What is an undefined reference/unresolved external symbol error and how do I fix it?

0 Answers  


How are Structure passing and returning implemented by the compiler?

0 Answers  


given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 Answers  


Categories