Computer Science, asked by krisha3038, 10 months ago

how does variable differ from a constant​

Answers

Answered by tamannadeswal73
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.

Hope it helps you

have a nice day dear

Answered by jass05
2

hey friend here's ur answer

variable it not constant means value not remain same.

these are alphabets used in mathematics.

e.g.x,y,z,a,c ect.

while constant means the value remains same.

these are not alphabets these are numbers used in mathematics.

e.g. 2,4,5,6 etc.

both of these when joined together or put together make-

e.g. 4x-5a+2

here 4x and 5a are variables while 2 is a constant term.

2d+6d-8

here 2d and 6d are variables while 8 is a constant term.

hope this helps you.

plz mark it as brainlist answer.

Similar questions