•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Storage Classes: static ]

Static variables are stored in the Data (initialized) or BSS
(un-initialized) segments of the program, rather than the stack.
Their contents are therefore available to more than one function, and
are preserved from one call to the next.

Only static and global variables can be initialized.

Static functions and variables differ from global functions and
variables in that their names are not passed to the linker.  This
means that these functions and variables cannot be accessed from
other source files.  It also means that one need not worry about
duplicate function names from other modules.