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
Explain what happens when an exception is thrown in C++.
What is a class in C++?
1 Answers Amazon, TCS, UGC Corporation,
what is friend function in C++?
Discuss the role of C++ shorthands.
What are the different scope C++ provide ?
Question on Copy constructor.
What is the difference between virtual functions and pure virtual functions?
Consider the following C++ program
What is an algorithm (in terms of the STL/C++ standard library)?
How to delete array of objects in C++? Proof by C++ code for proper deletion
What is Coupling?
Name the operators that cannot be overloaded.