#include <stdio.h>
int main()
{
int *ptr, i = 10;
ptr = &i;
(*ptr)++;
++*ptr;
printf("Val = %d\n", i); return 0;
}
References: C From Theory