Computer Science, asked by kyash3912, 15 hours ago

Identify the variables and constants in the expression: a = b + 5

Answers

Answered by s115607ayash05993
0

Answer:

a is the variable

Explanation:

mark me as a brain list

Answered by aditijaink283
1

Answer:

The answer to the given question is:

b is variable, a is constant

Explanation:

A constant is a value that the programme cannot change while it is normally running, i.e., the value is constant. Although the phrases "constant" and "named constant" are frequently used interchangeably, a constant is considered to be "named" when it is coupled with an identifier. Unlike a variable, which is an identifier with a variable value that might vary during normal execution, a variable is not fixed.

A variable is a piece of data whose value may change while the programme is running. So, just as its name suggests, the value might change.

There are two uses for constants. As follows:

genuine constant

known constant

Anywhere a value is required, you write it into your programme as a literal constant.

#SPJ2

Similar questions