Introduction - University of South Carolina

A pointer can be used anywhere a variable of the same type may be used. Pointer Arithmetic. Given the array definition. int i, a[ 10 ]; then the following is true. a[ i ] = (a + i) Using pointer arithmetic: (a + i) = a + i (sizeof(int)) The C Array Selector. Referencing an array element using a selector is done by pointer arithmetic. This means ... ................
................