Math, asked by doyellenka, 11 months ago

what is constent and variable? ​

Answers

Answered by Anonymous
11

Answer:

Variable

Variable is an entity whose value always changes, ie the value of the variable is not fixed. In simple words, we have data types in the variable. Let's store the value of the key and it is the name of a memory location.

Constant

Constants are variables whose value does not change in any way during program execution. Whenever you make a constant declare, its value remains fixed during the execution of the program. If an attempt is made to change its value, an error occurs in the program.

Answered by Anonymous
5

Constant:- which is fixed and which does not change.

Variable:-

not consistent or having a fixed pattern; liable to change.

"the quality of hospital food is highly variable"

Similar questions