-1
I’m studying the linked or chained lists And I saw this operator in a code I saw I’ve searched the internet and in books and found nothing about What good is that?
-1
I’m studying the linked or chained lists And I saw this operator in a code I saw I’ve searched the internet and in books and found nothing about What good is that?
2
a->b is the equivalent of (*a). b, it takes the member called bar from the structure where foo is being pointed. It’s basically a shortcut to (*a). b
More information: https://stackoverflow.com/questions/2575048/arrow-operator-usage-in-c
Browser other questions tagged c
You are not signed in. Login or sign up in order to post.
That question already has answer here.
– LipESprY