指针相减
#include <stdio.h>
int main()
{
int intArray[100];
int a, b;
printf("%d\n", (&intArray[2] - &intArray[1]));
printf("%d\n", &intArray[91] - &intArray[1]);
printf("%d\n", &a - &b);
return 0;
}
[uxdb@localhost pointerSubstract]$ ./test
1
90
1