Storage Classes(in a single file)
printf(" x=%d, y=%d, g=%d\n",
g and k have storage class "extern". g and k are global variables, visible to all functions, exist during whole program execution.
c and i are storage class "auto". c and i are local to main() only, exist only when main() exists.
x has storage class "static". x is local to fun(), known only in fun(). x is initialized once, exists during the whole program. y is local, storage class "auto", initialized every time when fun() is evoked, and exists only when fun() is active.
This is program pg390.c