Consider the following code
int a[10],*p,*q;
p=&a[5];
q=&a[7];
which of the following statement is invalid with respect to pointers?
1
p+1
2
q-3
3
p+q
4
q-p
Consider the following code
int a[10],*p,*q;
p=&a[5];
q=&a[7];
which of the following statement is invalid with respect to pointers?
p+1
q-3
p+q
q-p