the following C program
#include <stdio.h>
#include <stddef.h>
#define A 1
#define B 1
int main(){
int a[A], b[B];
ptrdiff_t delta;
printf("%p %p",&a+A,&b);
delta=&a+A-&b;
printf("\n* %td *\n",delta);
if ((&a+A)==&b) printf("\n==1.1");
if ((&a+A)-&b==0) printf("\n==1.2");
if (&a==&a) printf("\n==2");
return 0;
}
produces this result:
0x7fff107d5454 0x7fff107d5440
* 5 *
==2
Can you explain me ehy 0x7fff107d5454-0x7fff107d5440=5
?