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 9687Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 14151Post New EA Electronic Arts Interview Questions
How and where you used hash file?
What is an immutable object? How can it help in writing a concurrent application?
Where can I find dll files on my computer?
What is CDB?
How do I fix character length in excel?
Which is better merge or quick sort?
What Are Derivatives?
What is c# console application?
What is standard size journal and big end crankshaft in mahindra bolero
Why do we need app in scala?
Why would some industries select pneumatics over hydraulic?
Is node.js a single threaded application?
How many types of Layout Panel in WPF?
What is the maximum length of cable supported in SCS-1,2 and 3?
What type of active directory objects can be contained in a group?