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 8840Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13214Post New EA Electronic Arts Interview Questions
What is ceiling()?
What are the 2 types of java programs?
What is e4x in reference to xml?
What are 5 boolean operators?
Will developed countries be allowed to shield some of their agricultural products from full tariff cuts?
If you could design your ideal job, what would it look like?
How do you create access?
A solar eclipse can only occur at?
Define a plugin?
What is used in arihant’s atomic reactor?
How the stack is initialized?
What are Agilent PRECOMPILERS?
Explain module.exports in node js?
What is planned order creation? Can you convert a planned order to production order, how?
What do you understand by oldham's coupling ?