1 2 3 4 5 6

*The only difference between arrays and pointers is that declaring aas an array means that the identifier ais read- only. That is, it cannot appear as an Lvalue.

pa= &a[3] a= pa + 1

is ok is not

Here we are incrementing pa by one unit of size float. This is an address, but if we store it in a, then we would be saying that &a[0]is now &a[1].Even a computer would be confused!! Therefore not allowed, because the original array declaration was

float a[10];

January 21, 1999

Page5

JH/TM