-
|
What is a variable, and why is it used in programming? |
Beta Was this translation helpful? Give feedback.
Answered by
Ranusha5
Jan 7, 2026
Replies: 1 comment
-
|
A variable in programming is a named storage location in a computer's memory that holds a value which can be accessed and changed during program execution, acting as a labeled container for data to make code understandable, reusable, and dynamic, allowing programs to handle different inputs and perform complex tasks |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Udul-D
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A variable in programming is a named storage location in a computer's memory that holds a value which can be accessed and changed during program execution, acting as a labeled container for data to make code understandable, reusable, and dynamic, allowing programs to handle different inputs and perform complex tasks