Math, asked by sndp1857, 1 year ago

what is the difference between constant and variable ? Define.​

Answers

Answered by akrabhishekgupta143
0

The difference between variables and constants is that variables can change their value at any time but constants can never change their value. (The constants value is lockedfor the duration of the program). Constants can be very useful, Pi for instance is a good example to declare as a constant.

Answered by BrainlyKingdom
0

Variable : A variable is denoted by a Letter of English alphabet and that can take any value .

  • Example : x, y, a, b, z, c, etc

Constant : The Values of constant remain same throughout the Situation i.e value of constant doesn't change in a problem

  • Example : 1, 2, 3, 4, 5, etc
Similar questions