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