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 9592Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13984Post New EA Electronic Arts Interview Questions
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
One of our Sundry Debtor paid the Bill amount to our sundry creditor. What is the accounting principle. Which is the use Voucher in TALLY?
What is the richter magnitude scale?
What are differences between different versions of co-op?
What are the operations which tmap follow?
What is Drupal blocks?
Tell me the latest word on the safety of amalgam-type fillings?
What do you mean by a current transformer?
Mention what are the different types of reports available in salesforce?
Why do we use join() function in python?
How do I start learning java?
How many types of views are available in microsoft powerpoint 2010?
What is polling in ajax.
What is the function of RCBO? What are the different sensitivity ratings & each application?
Explain the basic need to start with jquery? : jquery mobile