Datasheet

Static
A global name declared with the static specifier has internal linkage, meaning that
it is local for a given file. See Linkage for more information.
A local name declared with the static specifier has static duration. Use static with
a local variable to preserve the last value between successive calls to that function.
See Duration for more information.
Extern
A name declared with the extern specifier has external linkage, unless it has been
previously declared as having internal linkage. A declaration is not a definition if it
has the extern specifier and is not initialized. The keyword extern is optional for a
function prototype.
Use the extern modifier to indicate that the actual storage and initial value of the
variable, or body of the function, is defined in a separate source code module. Func-
tions declared with extern are visible throughout all source files in the program,
unless the function is redefined as static.
See Linkage for more information.
182
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroC PRO for AVR
CHAPTER 5