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 9700Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 14179Post New EA Electronic Arts Interview Questions
What are recording types in uipath?
What is the maximum length of the macro variable? : sas-macro
What are R topical programming and statistical relevance?
what is sod in sap security?
Can you use python to make apps?
Which language is supported by sql server?
Ruby support single inheritance/multiple inheritance or both?
Explain what is meant by CORE DUMPS?
What is the nm?
Difference between MAC vs. IP Addressing
How do you ensure culturally sensitive care when diagnosing and treating pediatric patients from diverse cultural backgrounds?
What is a thread? What is multithreading?
How do Generative AI models create synthetic data?
How to include variables in double-quoted strings in php?
What is the usage of "cqlsh-version" command?