Computer Science, asked by aryan13664, 11 months ago

Two difference between Consonant and Variables ​

Answers

Answered by abhinavmishra74358
3

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.  


abhinavmishra74358: PLEASE MARK AS BRAINLIEST
Answered by aishpreet011
4

Answer:

constant never change where as variables changes....

Similar questions