answersLogoWhite

0


Best Answer
  • Differentiate between constants and variable

    Constants

    variables

    characteristics

    Value is not changeableduring the course of the program

    Value can be changedanytime during the course of the program

    usage

    Use constant when you want to declare something that won't change midway in your program execution.

    Use variable to store data thatmay or will change during the running of the program.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Differentiate c constant and c variables?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Differentiate between C Constants and C variables?

A constant value cannot be changed once set. A variable can be changed whenever you want.


What does constant of proportion mean?

If two variables are in direct relationship then the ratio of the two variables is known as the constant of proportion between them. In algebraic form, if X and Y are the two variables, then direct proportionality implies that Y = cX and c is the constant of proportionality.


Are constant variables and derived variables the same?

Constant variables are constant, they do not change. Derived variables are not constant. They are determined by the other values in the equation.


What is constant variable in c?

Constant variables refers to those variables whose values cannot be changed. These variables should be initialized along with their declaration. Attempt to change the value of a constant variable will generate compile error. The syntax for declaring a constant variable is:const data-type variableName = value;


What is the constant of proportionality in math?

If two variables, X and Y, are in direct proportion then Y = c*X for some fixed value c. This value, c, is the constant of proportionality for this relationship.


What is the definition constant of proportionality?

The state of being in proportion.


What are the characteristics of inverse proportionality relationship?

If the product of two variables is equal to a constant, then they are inversely proportional. eg. If xy=c where c is a constant, then x and y are inversely proportional.


Differentiate the three types of variable?

differentiate the three types of variables from one another


Are constant variables and independent variables the same?

No they are not the same. A constant variable keeps going at a constant rate.


What is a constant variables in c language?

It are a variable you add modifer 'const' to. It means these variable mustn't be modified.


What is the direct proportion?

Two variables, X and Y, are said to be in direct proportion if X/Y is a constant. Equivalently, Y = cX for some constant c.


What is the general form of a direct-variation equation?

y = cx where x and y are the two variables and c is a constant.