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 are the major differences between C and C++?
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
Write a C++ program to print strings in reverse order.
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
C++ Public access specifier instead of Private – What is bad ?
In C++ what is the meaning of data hiding?
What are issues if we mix new and free in C++?
Define type casting in C++.
What is a memory leak in C++?
Name the operators that cannot be overloaded.
What is C++11?