suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
3 8721Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13052Post New EA Electronic Arts Interview Questions
what is the IS foe lightning arrester?
Can You Use A Stored Procedure To Provide Data To An Ssrs Report?
What is the use of the tee command?
What is the bash in linux?
What is data type in python?
What does range () do in python?
How to clenching or grinding your teeth?
What is the difference between VARCHAR and NVARCHAR in SAP HANA SQL?
What is bug, deffect, issue, error?
What is the real difference between sap mm, srm and ariba?
What is an Atomic vector and how many types of atomic vectors are present in R?
What are libraries in c++?
What is the basic syntax of Php?
Difference between flex and flash?
Name the different types of infocubes.