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 14330Post New EA Electronic Arts Interview Questions
Is gnome a shell?
What is laravel scout?
What is the most powerful operating system?
In order to derive the torsional formulas what are the assumptions taken?
How to sort the dynamic objects alphabetically on the Universe based on and SQL Server
How do I tell outlook to connect to server?
Can sap apo and sap r/3 be installed on the same server and use the same database?
please tell me, how i clear the objective test? when i studied form the one book after i solved the objective ,that time i solved that qes. but if i tried solve objective form the other book then i could not solved these que.
What do you know about Schlumberger?
What are the advantages/ benefits of go programming language?
what is compression ratio? why its decreased when gear shifted ?
What is array command?
What is aix file system?
How a timer enhances for controlling any process.
Does the hdfs client decide the input split or namenode?