Question: what is the difference between constant and variable in c?
Answer: The main difference between constant and variable in C programming is that a constant is similar to a variable, but it cannot be modified by the program once it is defined while a variable is a memory location that holds data. ... A constant refers to a fixed value, and it cannot be changed after defining.