answersLogoWhite

0

What is constant and variable?

Updated: 12/13/2022
User Avatar

Wiki User

12y ago

Best Answer

A variable is a named object that is mutable.

A constant is a named object that is immutable.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Variables are items, which change their values during the execution of a program.

Constants do not change the value during the execution of a program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is constant and variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the constant and variable of 6x?

The constant is the number; the variable is the letter.


What is the constant variable in Avogadro's law?

The question is about an oxymoronic expression. A constant cannot be a variable and a variable cannot be a constant!


What a variable that does not change in an experiment is called a constant?

Constant variable


Is a constant a number variable or the product of a number and one or more variables?

A constant is not a variable at all, and none of its factors was a variable. It is constant.


What is the opposite of the word constant?

The opposite of the word "constant" is "variable".


What does a constant do in c plus plus?

A constant is a variable that does not change. The correct term is constant variable.


Which variable have been held constant?

Logic fault ---> no such thing as a constant variable (by axiom: def of variable) []


What is the constant of the variable?

The definition of constant variable is a variable whose value cannot be changed once it has been assigned a value for an experiment. It is the variable held steady, or constant, for a specific experiment.


What is the relationship between a variable and a constant?

By definition:a variable varies (changes) in valuea constant is constant (fixed) in value


What is the Synonym for controlled variable?

constant variable


The variable that stays the same?

The constant variable.


Is gravity a variable?

Gravity is a constant not a variable. (stays constant at 9.8ms/s in earths atmosphere)