Suppose the two dimensional array is declared as Then which of the following will not give the output ?
A
B
C
D
Correct answer: A
Explanation
With a[2][2] = {{1,2},{3,4}}, the element 4 is a[1][1], i.e. arr[1][1] = *(*(arr+1)+1) = *(arr[1]+1). The expression *(*(arr+1)) gives arr[1][0] = 3, so it does not print 4.