Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
4.Is the following code an Example of Dynamic Binding Explain? class Base{Public:virtual Bool Dosomething()------------------};class Derived1: public Base{Public:Bool Dosomething();---------------------------------};class Derived2: public Base{Public:Bool Dosomething();---------------------------------};void main(){Derived1 derived1;Derived2 derived2;::process(derived1);::process(derived2);}::Process(Base& Object){Object.Dosomething();}What will happen if in the above code in the base class the keyword virtual is removed?
This Question is not yet answered!
Related Answered Questions
Related Open Questions