Teaching HPSC Lecturer (Technical) Mock Test 2024 Programming and Data Structure Programming in C Pointer
Which of the following statements is INCORRECT with respect to pointers declared in the following ‘C’ language code?
void main()
{
int a[10], *p, *q;
p=&a[5];
q=&a[7];
}1
q-3
2
p+1
3
q-p
4
p+q
5
Question Not Attempted