Answer to Question use-1

Use the dot when you have a value that is a structured value. Use the arrow when you have a pointer to a structured value. If its type has a *, use an arrow.