Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

static variable

You are here: irt.org | FOLDOC | static variable

<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.


Nearby terms: static random-access memory « static scope « static typing « static variable » Station Management » Statistical Analysis System » Statistical Package for the Social Sciences

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb