27.2k views
4 votes
Explain arrow notation

User Sovemp
by
7.6k points

1 Answer

4 votes

Answer:

The arrow operator is formed by using a minus sign, followed by the greater than symbol as shown below. Operation: The -> operator in C or C++ gives the value held by variable_name to structure or union variable pointer_name.

User Eric Bridger
by
7.0k points