#include <stdio.h>
int main()
{
int arr[] = {1, 2, 3, 4, 5};
int *ptr = arr;
printf("ptr = %p\n", ptr);
printf("*(ptr + 2) = %d\n",
*(ptr + 2));
printf("*(ptr++) = %d\n",
*(ptr++));
printf("*(++ptr) = %d\n",
*(++ptr));
printf("*(ptr - 2) = %d\n",
*(ptr - 2));
return 0;
}