Examples of Pointer Arithmetic
float x[10]; /* initialize x */ { float *left = &x[0]; float *right = &x[9]; while ( left < right ) { float temp = *left; *left++ = *right; *right-- = temp; } }
float x[10]; float *p = &x[10]; /* uh?? */ while ( p != x) *--p = 0.0;