Code Snippets C

#include
int main(void)
{
int *p, j;
p = &j;
j = 1;
printf("%p ", p);
(*p)++; /* now j is incremented and p is unchanged */
printf("%d %p", j, p);
return 0;
}