What does "->" do?
So lately, I've bumped into codes which have used the "->" statement/operator a lot. Can anyone tell me what does that do? (I can't google it since google ignores such symbols).
Thanks in advance.
p is a pointer then
p->q is just a shorter way of writing
pointer to an object that is
|pointer to an object that is |
Untrue. Whether or not pointer
points to an object, some random place in memory or holds the value
, the meaning of
does not change.
Topic archived. No new replies allowed.