Well, &a here is the address where the address of the whole 2D array is
stored.

with &a+1 you move over the whole array in one go. So you land up with an
address after the 2D array's last element.

On 8 August 2011 19:59, Brijesh Upadhyay <[email protected]>wrote:

> int main()
> {
>    int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12};
>    printf("%u %u %u",a, a+1,&a+1);
>    getch();
> }
>
> how &a+1 is valid..?? please explain
>
> --
> Regards,
> Brijesh Upadhyay
> CSE , final year.
> Thapar University
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
___________________________________________________________________________________________________________

Please do not print this e-mail until urgent requirement. Go Green!!
Save Papers <=> Save Trees

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to