#include int y; void f1(void) { int x = 1; y = x; } void f2(void) { int x; y = x; } void test() { f1(); if (y) printf("f1 set y to %d\n", y); f2(); if (y) printf("f2 set y to %d\n", y); } main() { char buf[16 * 1024]; test(); }