/* Illustrates variable scope. */ #include int x = 999; void print_value(void); main() { printf("%d\n", x); print_value(); return 0; } void print_value(void) { printf("%d\n", x); }