Variable (computer science)

ID: variable-computer-science

In computer science, a variable is a symbolic name associated with a value and a storage location in memory. Variables are used to store data that can be manipulated during a program's execution. They allow programmers to write flexible and dynamic code by modifying the data contained in these variables as the program runs. Key characteristics of variables include: 1. **Name**: Each variable has a unique identifier (name) that is used to reference it in the code.

New to topics? Read the docs here!