Variables and Constants in Programming Languages.
Variables and Constants We all would be a little bit familiar with the variables and constants in mathematics. If not then also it's OK, we are all humans and we all can learn anything at any point of time. Variables and constants are very much similar to those used in Algebra stream of Mathematics . We will discuss both variables and constants both of them one by one. An Algebric Expression Constants ;- Constants are mainly those quantities whose value cannot be modified or changed. They can be in any form integer, decimal, hexadecimal, floating point no., characters etc., but they are mainly in two common forms in INTEGERS and ALPHABETS ( CHARACTERS ). You can understand constant very much by the following example- We will assign x the value 3 x=3 we have got this expression. This expression does nothing except