Hello YouTube buddies... Variable and Constant = basically guys, we have already studied about variable and constant in school time, but while doing programming, we have still confusion between variable and Constant.
Variable = A variable is an identifier which store the value. Variable is not fixed value. It changed while execution.
Example = x, y, z etc.
Constant = A constant is an identifier which has fixed value. It can't change while execution.
Example = 1, 2,3,4,5,8,9 etc.

0 Comments