Static
1. What are the uses of the keyword static.
- A variable declared static within the body of a function maintains its value between
function invocations
- A variable declared static within a module, (but outside the body of a function) is
accessible by all functions within that module. It is not accessible by functions within any
other module. That is, it is a localized global
- Functions declared static within a module may only be called by other functions within
that module. That is, the scope of the function is localized to the module within which it is
declared