/* p13.c */ /* this program demonstrates some of the characteristics */ /* of variable scoping in C. */ /* The scope of y and z include all lines that follow their */ /* definitions. Thus z may be used in function f1 and f2 */ /* but y may be used only in f2 */ int z = 12; int f1( int x) { x = x + y + z; return(x); } int y = 11; int f2( int x) { x = x + y + z; }