Differentiate between a constant and a variable
Answers
Answered by
4
Answer:
Constant is a number whose value is constant and is given in the equation
Variable is a number whose value varies and is not given in the equation
Hope this helps you
Answered by
5
Answer:
Explanation:
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
Similar questions