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 9546Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13926Post New EA Electronic Arts Interview Questions
What are the side effect of certain medical treatments which causes dry mouth?
What is ipc for pcb?
What are dangling pointers? How are dangling pointers different from memory leaks?
Is Silverlight supported by all major browsers?
How do you declare a variable as volatile in Kotlin ?
Can you define linear regression?
what is digital marketing?
How to create angularjs filter which outputs html?
How to write a query to show the details of a student from students table whose
what is timeframe for conversion?
What is output element in HTML 5?
What is collective processing of gl accounts? : fi- general ledger accounting
How can you hide an html element just by a button click in angular?
What is the use of reset method of ActionForm class?
What is the difference between response.write & response.output.write?