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 9839Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 14326Post New EA Electronic Arts Interview Questions
What is an implicit object?
what r the advantages and disadvantages of gas burners and oil one?
How often does rss feed update?
How do you delete a sheet in excel using keyboard?
How do I run an xsd file?
What is api example?
How much for the BRC lapping in full yield and half yield < and which table to get it ?
what are the breakdown voltage rating of mini- curcuit'transfarmer!
Can I use ajax with microsoft's .net?
Why use static methods php?
What are nodes?
Differentiate between ‘assign’ and ‘retain’ keyword.
Please advise your reasons for applying for this role and why you think you are suitable?
What is auto-layout?
Explain about vectors in c ++?