p is a pointer variable it means int *p;
after that p=a;
p is holding address and a[0] is holding value how this can be done . // This is illegal
p==&a[0]
p==&*(a+0)
p==a(both are holding address)
both are holding 1st value of array a .
- statement 4) p[0]==a[0] same as previous
Therefore statement 2,3,4 is right
answer is option A .