ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Pointer to a base class can be initialized with the address of derived class, because of _________
Correct Answer: C — derived-to-base implicit conversion for pointers
It is an implicit rule defined in most of the programming languages. It permits the programmer to declare a pointer to the derived class from a base class pointer. In this way the programmer doesn’t have to declare object for derived class each time it is required.