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 8566Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12834Post New EA Electronic Arts OOPS Interview Questions
Explain scope of static variables?
Does c++ have a hash table?
What is gtsc technology?
Describe the shipping process for a cosignment of cargo loaded in continental Europe
Dear sir/madam, Want to know entry for closing of sundry creditors account on the end of the year when its accounts shows debit balance, Payment made excess. E.g Invoice rcvd : 100000.00 from XYZ company payment Made: 105000.00 Please suggest best entry for the same
what we have to say about hobbies,strong points,weak points
What is spreadsheet explain?
Explain what is miniaturized satellite?
What is difference between call by value and call by reference?
What is a user function?
What is bug?
What is the code of mobile?
Do extraneous variables affect validity?
What will happen if you try to update record in after trigger context?
How do I find jre path in windows?