Hi,
I have following code
1. Why does **a take me to the first element in the second row? Shouldn't it point to the address of content of a[0] . As per the double pointer..Code:main() { int a[3][4] = { 1,2,3,4, 5,6,7,8, 9,10,11,12 }; printf("\n%u\n%u\n%u\n%u\n%u\n",a[0]+1,*(a[0]+1),*(*(a+0)+1),**(a+1),(&a+1)); ; return 0; }
2. why does (a+1) takes me to the 2nd row and (&a+1) takes me to the end of array? Isn't a and &a one and the same?
Thanks in advance....