Consider the following code fragment.
int A[100], *p, *q; for( p = A, q = p + 99; p < A+100; p++, q-- ) swap( p, q );
Execution of this code fragment has what effect on the array A?
What is the effect of the following code fragment?
int A[100]; for( int *p = A; p < A + 100; ++p ) *p = 0;