static variable

Computing Dictionary

static variable definition

programming
A kind of local variable in certain programming languages that retains its value even when program execution moves outside its scope. This contrasts with an ordinary, automatic variable, which is reinitialised (possibly to an undefined value) every time the block is entered.
Static variables have a fixed location in the data section of the program's address space whereas automatic variables are typically allocated on the stack.
(2009-12-14)
The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source
Explore Dictionary.com
Previous Definition: static typing
Next Definition: static water
Words Near: static variable
More from Thesaurus.com
Synonyms and Antonyms for static variable
More from Reference.com
Search for articles containing static variable
More from Dictionary.com Translator
Dictionary.com Word FAQs

Dictionary.com presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014 Dictionary.com, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature