Question: what is the main difference between variable and constant?
Answer: The key difference between a variable and a constant is: The value stored in a variable can/may change during the running of the program. The value stored in a constant cannot be changed during the running of the program.