#include
#define SIZE 10
int main(void){
int arr[SIZE] = {1,2,3,4,5,6,7,8,9,10};
int *p;
int prev,next;
p = &arr[5];
prev = *(p - 1);
next = *(p + 1);
printf("arr[%d] = %d\n",5,arr[5]);
printf("arr[%d] = %d\n",4,prev);
printf("arr[%d] = %d\n",6,next);
return 0;
}