What I got from this lesson

When dealing with pointers you use the arrow (->) operator to access its member functions/methods. When you are dealing directly with pointers but their values you use the dot (.) operator and you use the de-reference operator (*) to obtain the value of the pointer. Another thing to look into is how referencing the memory address of the object using the (&) before the pointer name to get the memory address. But that is for another discussion.

Privacy & Terms