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
Declare a pointer to a function that takes a char pointer as argument and returns a void pointer.
What is latest update of C++ ?
CDPATH shell variable is in(c-shell)
Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }
What is the 4 difference between delete[] and delete?
Explain the difference between C and C++.
Discuss about iteration statements in C++ .
What Is A Default Constructor in C++ ?
What is the purpose of a constructor? Destructor?
Consider the following C++ program
Describe the different styles of function prototypes in C++.
What are the fundamental features of an object-oriented language?