Get premium membership and access questions with answers, video lessons as well as revision papers.

Given a pointer to an object in a C++, what operator is used to access a member of that object?

      

Given a pointer to an object in a C++, what operator is used to access a member of that object?

  

Answers


Davis
To access a member of an object by using a pointer, use the arrow(->) operator.
Githiari answered the question on February 4, 2018 at 12:21


Next: What is a reference in programming? What is one advantage of using a reference parameter?
Previous: What is the general forms of new that is used to initialize a dynamic variable? Give a correct example.

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions