ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which operator should be used to access the members of the class using object pointer?
Correct Answer: A — Arrow operator
The members can be accessed from the object pointer by using arrow operator. The arrow operator can be used only with the pointer of class type. If simple object is declared, it must use dot operator to access the members.