Please explain QuesNo-7 .
I am not getting it .
Pointers MCQ q.No-7
it is the sum of diagonals
see
- (arr+i)
arr is the address of the first element, each increment moves it to the next row
so *(arr + i) is the address of the ith row
now *(arr+i)+i is the address of the ith col of the ith row
and ((arr+i) +i) is the value of the element of the ith row at ith column