Computer Science, asked by kalepratham03142, 11 months ago

4. state two differences between a constant and variable.​

Answers

Answered by Itsprachi
3

Answer:

Variables and Constants. Important Terms: A variable is a named memory location which temporarily stores data that can change while the program is running. A constant is a named memory location which temporarily stores data that remains the same throughout the execution of the program.

Answered by bijaymourya8114
2

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.

Similar questions