in Programming in C
325 views
0 votes
0 votes
Caption

@sachinmittal1 sir here answer should be B na because Arr[2] point s to the 0th index of 2nd 1D-array so it means pointing to address of arr[2][0] so address size would be  8.

in Programming in C
325 views

2 Comments

@sachinmittal sir ?
0
0

@JayRathi , bro arr[2]  firstly , arr points to 1D array of size 4. then arr+2 points to 3rd row now *(arr+2) is an array of 4 int elements we can also write arr[2] . so sizeof this is sizeof(int)*no. of elements i.e 16.   

0
0

Please log in or register to answer this question.