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 the difference between public, private, and protected inheritance?
What is the meaning of the following declaration: int *const *const *i?
When must you use a constructor initializer list?
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
What is static variable and difference between(const char *p,char const *p,const char* const p).
Find the Factorial of a number using a program.
What is placement new?
What is latest update of C++ ?
Tell How To Check Whether A Linked List Is Circular ?
How do you write a function that can reverse a linked-list in C++?
CDPATH shell variable is in(c-shell)
explain the term 'resource acquisition is initialization'?