To the first O of the array?
Yes.
Exactly. *p
and p[0]
are the same. Here are some neat features you want to know:
You can represent an address in memory using either interchangeably:
*p
is equivalent to p[0]
*(p+1)
is equivalent to p[1]
, and more awesomely also equivalent to 1[p]
NOTE:
*(p+i)
is equivalent to p[i]
i[p]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With