#include main() { int i; double x = 0, y = 1, *p; p = &x; for (i = 0; i < 3; i++) { y *= 2; printf("%d %f\n", i / 2, *p); p = &y; } }