1 void foo(void); 2 main(void)3 int main(void) 4 { 5 foo (); 6 7 for (;;) 8 ; 9 } 10 11 int a; 12 foo1(void)13 void foo1(void) 14 { 15 a = 1; 16 } 17 foo2(void)18 void foo2(void) 19 { 20 a = 2; 21 } 22 foo3(void)23 void foo3(void) 24 { 25 a = 3; 26 } 27 28 29