Two difference between Consonant and Variables
Answers
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.
C is a structured programming language developed by Dennis Ritchie. It has various programming structures such as loops, functions, and pointers. Defining constants and variables are initial steps to write a program. A constant refers to a fixed value, and it cannot be changed after defining. On the other hand, a variable is a name to identify a specific memory location. A programmer can assign a value to a variable and use that variable throughout the program. Each variable has a specific data type. A variable declared to store an integer cannot be used to store a floating point value.
Answer:
constant never change where as variables changes....