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 7225Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 11138Post New EA Electronic Arts Interview Questions
Is there any method for calibration of HPLC ( linier gradient calibration)
What is the difference between the functions strstr() and stristr()?
what is the difference between sap apo and sas?.....sap apo and scm apo?
What is singleton in ios swift?
How to use Lidocaine for primary astrocyte culture purification ?
In single phase ac ups supply when current is measured with tong tester neutral current is found more than phase current.What is the reason?
the winding of Generator and Motor is star or in delta ? and why
What do you understand by uml?
What is the alternate solution for testing of polarity by using polarity tester while its milli ammeter does not works?
What are the topics in advance java?
What are different types of constructors in kotlin?
Explain the reproductice system in a female flower?
what do you understand by fine-grained auditing?
What is __ v in mongoose?
what are the basic difference between India and China? Why both the countries are attractive the attention of foreign investor?