#include int a = 0; // Global - accessible anywhere in file. void test (int b) // Parameter. { static int c = 0; // Static - retains its value over successive function calls. int d = 0; // Local. if (b >= 0) { int e; // Local inside block - ANSI C99 only. e = a + b + c + d; // a,b,c,d are accessible anywhere in test. // e is accessible only after this declaration inside the if-block. printf ("e=%d\n", e); } c++; } int main () { a++; // "a" is accessible in all functions in the file. test (1); // What is printed out each time? test (2); }