Array element

I have a C program like this :
int main()
{
int a[5]={1,2,3,4,5};
printf("%d %d \n",a,(&a+1));
return 0;
}

Output:
Address of 1st element of array a ,Address next to the element a[5]...

Why (&a+1) points to address next to a[5] ?
Last edited on
Topic archived. No new replies allowed.