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
Write a program that ask for user input from 5 to 9 then calculate the average
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
Explain the FOR loop with a help of a code.
what is the difference between a pointer and a reference?
0 Answers Amazon, Blue Star, C DAC,
Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.
Define an Abstract class in C++?
How to reverse a string in C++
Write a program to generate the Fibonocci Series in C++.
How to generate random numbers in C++ with a range?
Write a program that can take input from 3 to 8 and calculate the average?
Write a C++ Program to Reverse a Number using while loop.
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,