Static variable

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.


Read Also:

  • Static-water

    noun, British. 1. water collected and stored in reservoirs, tanks, etc., as for urban use.

  • Statin

    noun, Pharmacology. 1. any of a class of drugs that reduce the levels of lipids in the blood by altering the enzyme activity in the liver that produces lipids: used in the prevention and treatment of heart disease. noun 1. any of a class of drugs, including atorvastatin and simvastatin, that lower the levels of […]

  • Stating

    noun 1. the condition of a person or thing, as with respect to circumstances or attributes: a state of health. 2. the condition of matter with respect to structure, form, constitution, phase, or the like: water in a gaseous state. 3. status, rank, or position in life; station: He dresses in a manner befitting his […]

  • Station

    noun 1. a place or position in which a person or thing is normally located. 2. a stopping place for trains or other land conveyances, for the transfer of freight or passengers. 3. the building or buildings at such a stopping place. 4. the district or municipal headquarters of certain public services: police station; fire […]

Disclaimer: Static variable definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.