ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
If pointer to an object is declared __________
Correct Answer: D — It can only store object address of class type specified
The address of only the specified class type can get their address stored in the object pointer. The addresses doesn’t differ but they do differ for the amount and type of memory required for objects of different classes. Hence same class object pointer should be used.