There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
No Answer is Posted For this Question
Be the First to Post Answer
What Is A Default Constructor in C++ ?
Write a C++ Program to Find whether given Number is Odd or Even.
Explain function prototypes in C++.
How do you write a function that can reverse a linked-list in C++?
Can we call C++ OOPS? and Why
Explain about Searching and sorting algorithms with complexities
What are string library functions(syntax).
If class D is derived from a base class B
What is bool in C++
What are issues if we mix new and free in C++?
In C++ what is a vtable and how does it work?
Explain the operator overloading feature in C++ ?