Define static identifier in CThe static identifier is used for initializing only once, and the value retains during the life time of the program / application. A separate memory is allocated for ‘static’ variables. This value can be used between function calls.
The default value of an uninitialized static variable is zero. A function can also be defined as a static function, which has the same scope of the static variable.
|