Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Android™ device!
Free
Faster access than browser!
 

Automatic variable

Index Automatic variable

In computer programming, an automatic variable is a local variable which is allocated and deallocated automatically when program flow enters and leaves the variable's scope. [1]

23 relations: ALGOL, Block (programming), C99, Call stack, Computer programming, Lisp (programming language), Local variable, Mebibyte, Nested function, Object lifetime, Optimizing compiler, Processor register, Recursion, Recursion (computer science), Reentrancy (computing), Resource acquisition is initialization, Scope (computer science), Stack-based memory allocation, Thread (computing), Type inference, Undefined behavior, Variable (computer science), Variable-length array.

ALGOL

ALGOL (short for "Algorithmic Language") is a family of imperative computer programming languages, originally developed in the mid-1950s, which greatly influenced many other languages and was the standard method for algorithm description used by the ACM in textbooks and academic sources for more than thirty years.

New!!: Automatic variable and ALGOL · See more »

Block (programming)

In computer programming, a block or code block is a lexical structure of source code which is grouped together.

New!!: Automatic variable and Block (programming) · See more »

C99

C99 (previously known as C9X) is an informal name for ISO/IEC 9899:1999, a past version of the C programming language standard.

New!!: Automatic variable and C99 · See more »

Call stack

In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program.

New!!: Automatic variable and Call stack · See more »

Computer programming

Computer programming is the process of building and designing an executable computer program for accomplishing a specific computing task.

New!!: Automatic variable and Computer programming · See more »

Lisp (programming language)

Lisp (historically, LISP) is a family of computer programming languages with a long history and a distinctive, fully parenthesized prefix notation.

New!!: Automatic variable and Lisp (programming language) · See more »

Local variable

In computer science, a local variable is a variable that is given local scope.

New!!: Automatic variable and Local variable · See more »

Mebibyte

The mebibyte is a multiple of the unit byte for digital information.

New!!: Automatic variable and Mebibyte · See more »

Nested function

In computer programming, a nested function (or nested procedure or subroutine) is a function which is defined within another function, the enclosing function.

New!!: Automatic variable and Nested function · See more »

Object lifetime

In object-oriented programming (OOP), the object lifetime (or life cycle) of an object is the time between an object's creation and its destruction.

New!!: Automatic variable and Object lifetime · See more »

Optimizing compiler

In computing, an optimizing compiler is a compiler that tries to minimize or maximize some attributes of an executable computer program.

New!!: Automatic variable and Optimizing compiler · See more »

Processor register

In computer architecture, a processor register is a quickly accessible location available to a computer's central processing unit (CPU).

New!!: Automatic variable and Processor register · See more »

Recursion

Recursion occurs when a thing is defined in terms of itself or of its type.

New!!: Automatic variable and Recursion · See more »

Recursion (computer science)

Recursion in computer science is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem (as opposed to iteration).

New!!: Automatic variable and Recursion (computer science) · See more »

Reentrancy (computing)

In computing, a computer program or subroutine is called reentrant if it can be interrupted in the middle of its execution and then safely be called again ("re-entered") before its previous invocations complete execution.

New!!: Automatic variable and Reentrancy (computing) · See more »

Resource acquisition is initialization

Resource acquisition is initialization (RAII)Bjarne Stroustrup Accessed on 2013-01-02.

New!!: Automatic variable and Resource acquisition is initialization · See more »

Scope (computer science)

In computer programming, the scope of a name binding – an association of a name to an entity, such as a variable – is the region of a computer program where the binding is valid: where the name can be used to refer to the entity.

New!!: Automatic variable and Scope (computer science) · See more »

Stack-based memory allocation

Stacks in computing architectures are regions of memory where data is added or removed in a last-in-first-out (LIFO) manner.

New!!: Automatic variable and Stack-based memory allocation · See more »

Thread (computing)

In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system.

New!!: Automatic variable and Thread (computing) · See more »

Type inference

Type inference refers to the automatic detection of the data type of an expression in a programming language.

New!!: Automatic variable and Type inference · See more »

Undefined behavior

In computer programming, undefined behavior (UB) is the result of executing computer code whose behavior is not prescribed by the language specification to which the code adheres, for the current state of the program.

New!!: Automatic variable and Undefined behavior · See more »

Variable (computer science)

In computer programming, a variable or scalar is a storage location (identified by a memory address) paired with an associated symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.

New!!: Automatic variable and Variable (computer science) · See more »

Variable-length array

In computer programming, a variable-length array (VLA), also called variable-sized, runtime-sized, is an array data structure whose length is determined at run time (instead of at compile time).

New!!: Automatic variable and Variable-length array · See more »

Redirects here:

Automatic memory allocation, My variable.

References

[1] https://en.wikipedia.org/wiki/Automatic_variable

OutgoingIncoming
Hey! We are on Facebook now! »