Loading practice questions
Which operator should be used to access the members of the class using object pointer?
Correct Answer: A — Arrow operator
Explanation:
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.