Pointer arithmetic
Can only use addition and subtraction.
Can use to step through an array - use the increment operator to generate the address of the next element.
2 * sizeof(<type-pointed-to>)
of any array of any type, the following is true:
x[i] is equivalent to *(x+i)
No comments:
Post a Comment