How to call a non virtual function in the derived class by
using base class pointer
Answer Posted / aaa
Typecast the base pointer to derived class pointer type and
then invoke the derived class's function.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what are the realtime excercises in C++?
What is overloading in oop?
What is class in oop with example?
Why do we need polymorphism in c#?
program for insertion ,deletion,sorting in double link list
What is debug class?what is trace class? What differences are between them? With examples.
What is super in oop?
What is encapsulation c#?
What are the features of oop?
What is byval and byref? What are differences between them?
What is destructor example?
What is the important feature of inheritance?
What are the two different types of polymorphism?
Explain virtual inheritance?
Give two or more real cenario of virtual function and vertual object