+ 4
Still find it difficult to explain, I guess the reference will do it better.
https://en.cppreference.com/w/c/language/operator_member_access
https://en.cppreference.com/w/cpp/language/operator_member_access
+ 4
Maybe because a->b looks nicer than (*a).b
+ 4
Hehe I will ask this question to my teacher...
+ 3
The -> operator calls a pointer function of a class or structure