What does (->) does? Please with code example
As we use . operator with class or structure or any other user defined data type.
-> operator is used with pointer of those data types
Last edited on
Accessing member of object via pointer to that object is one place, but C++11 has also suffix return type syntax, where -> is used.