What is polymorphism in c++? Explain with an example?


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

Post New Answer

More C++ General Interview Questions

Differentiate between the message and method?

1 Answers  


Can you please explain the difference between static and dynamic binding of functions?

0 Answers  


What is iostream in c++ used for?

0 Answers  


How does the copy constructor differ from the assignment operator (=)?

0 Answers  


How to avoid a class from instantiation?

8 Answers   Symphony,






what is pre-processor in C++?

0 Answers  


What is the use of ::(scope resolution operator)?

0 Answers  


What is operator overloading in c++ example?

0 Answers  


What is setfill c++?

0 Answers  


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 are protected members in c++?

0 Answers  


What does the linker do?

0 Answers  


Categories