Showing posts with label 2006. Show all posts
Showing posts with label 2006. Show all posts

Tuesday, April 03, 2012

C and C++ 2006


1. Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived
object,. calling of that virtual method will result in which method being called? 
a. Base method
b. Derived method..

Ans. b