Translate:
English
Chinese (S)
Chinese (T)
Croatian
Dutch
French
German
Hebrew
Italian
Japanese
Korean
Portuguese
Russian
Serbian
Spanish
Swedish
Turkish
Additional
static variable
English Wikipedia - The Free Encyclopedia
Download this dictionary
Static variable
In
computer programming
, a
static variable
is a
variable
that has been
allocated statically
—whose
lifetime
or "extent" extends across the entire run of the program. This is in contrast to the more ephemeral
automatic variables
(
local variables
are generally automatic), whose storage is allocated and deallocated on the
call stack
; and in contrast to objects whose storage is
dynamically allocated
in
heap memory
.
See more at Wikipedia.org...
© This article uses material from
Wikipedia
®
and is licensed under the
GNU Free Documentation License
and under the
Creative Commons Attribution-ShareAlike License