answersLogoWhite

0

A constant has only the exact value it's declared and can never be changed. A variable can have any number of values assigned. In programming, a variable can be given a value later in the code but can only be changed during runtime if its been declared as a pointer.

User Avatar

Wiki User

11y ago

What else can I help you with?

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 for the moldy bread experiment?

The constant variable for a moldy bread experiment could be the type of bread used, the temperature at which the bread is stored, or the humidity levels in the environment. These variables are kept constant to ensure that any observed differences in mold growth can be attributed to the independent variable being tested.


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 variable in investigation of fungi growth mold?

The constant variable in investigating fungi growth mold could be the temperature, humidity level, or type of substrate being used for growth. This variable remains unchanged throughout the experiment to ensure that any observed differences in growth can be attributed to the independent variable being tested.


What factor is kept constant?

The factor that is kept constant in an experiment is called the controlled variable. It is important to keep this variable constant to accurately measure the effect of the independent variable on the dependent 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