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 9599Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13991Post New EA Electronic Arts Interview Questions
Which waves are used in sonography?
How are domain user accounts created and managed?
what is the recruitment process in BPOs?
What are the system fields you have worked with? Explain?
Is windows defender enough 2019?
Is LINQ performance wise better or using sqlcommand?
Different between Interface and Abstract classes?
Describe servlet?
How to calculate knee point voltage?
Explain the ternary operator in python?
What jobs can I get with excel?
How to receive JSON Data at the Client Side?
if main CT is of ratio 50/5, and meter CT is -/5 what will be overall multiplying factor of meter.PT is 11000/110 .
How many times can windows 10 key be used?
What is get_instance in codeigniter?